From: ZhangYunHao Date: Wed, 14 Oct 2020 03:34:57 +0000 (+0000) Subject: sync: fix typo in pooldequeue X-Git-Tag: go1.16beta1~740 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a3bc52b7862621ea2ca246d6637d0490cae91988;p=gostls13.git sync: fix typo in pooldequeue . Change-Id: I26fa26d67d01bcd583a1efaaf9a38398cbf793f7 GitHub-Last-Rev: ded020d02ca2e429f7c31065e5a27dae6eb7a611 GitHub-Pull-Request: golang/go#41932 Reviewed-on: https://go-review.googlesource.com/c/go/+/261477 Trust: Alberto Donizetti Reviewed-by: Austin Clements --- diff --git a/src/sync/poolqueue.go b/src/sync/poolqueue.go index 22f74969d9..9be83e9a43 100644 --- a/src/sync/poolqueue.go +++ b/src/sync/poolqueue.go @@ -57,7 +57,7 @@ const dequeueBits = 32 // the index. We divide by 4 so this fits in an int on 32-bit. const dequeueLimit = (1 << dequeueBits) / 4 -// dequeueNil is used in poolDeqeue to represent interface{}(nil). +// dequeueNil is used in poolDequeue to represent interface{}(nil). // Since we use nil to represent empty slots, we need a sentinel value // to represent nil. type dequeueNil *struct{}