aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-08-30 14:24:39 +0300
committerGravatar Kirill Danshin <kirill@danshin.pro> 2023-08-30 14:13:13 +0200
commit4ec5c5a7745dfa8c81347eac43411a2dc62ea4f7 (patch)
treea2c4486945550e83818265678902f82178a020ae /client.go
parentEnable gocritic linter; fix lint issues (#1612) (diff)
downloadfasthttp-4ec5c5a7745dfa8c81347eac43411a2dc62ea4f7.tar.gz
fasthttp-4ec5c5a7745dfa8c81347eac43411a2dc62ea4f7.tar.bz2
fasthttp-4ec5c5a7745dfa8c81347eac43411a2dc62ea4f7.zip
docs: fix typos in comments and tests
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index b7dbb47..8e7b2f9 100644
--- a/client.go
+++ b/client.go
@@ -2013,7 +2013,7 @@ func (w *wantConn) cancel(c *HostClient, err error) {
//
// inspired by net/http/transport.go
type wantConnQueue struct {
- // This is a queue, not a deque.
+ // This is a queue, not a dequeue.
// It is split into two stages - head[headPos:] and tail.
// popFront is trivial (headPos++) on the first stage, and
// pushBack is trivial (append) on the second stage.