]> Cypherpunks repositories - gostls13.git/commitdiff
sync: fix typo in pooldequeue
authorZhangYunHao <zyunhjob@163.com>
Wed, 14 Oct 2020 03:34:57 +0000 (03:34 +0000)
committerAustin Clements <austin@google.com>
Wed, 14 Oct 2020 13:38:41 +0000 (13:38 +0000)
.

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 <alb.donizetti@gmail.com>
Reviewed-by: Austin Clements <austin@google.com>
src/sync/poolqueue.go

index 22f74969d969ead7a1da9d9d9af630652dce7a32..9be83e9a433ef293534447ae6ca3a2556edcc50e 100644 (file)
@@ -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{}