mirror of
https://github.com/golang/go
synced 2024-11-26 15:06:52 -07:00
sync: fix typo in pooldequeue
.
Change-Id: I26fa26d67d01bcd583a1efaaf9a38398cbf793f7
GitHub-Last-Rev: ded020d02c
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>
This commit is contained in:
parent
d83168eb38
commit
a3bc52b786
@ -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{}
|
||||
|
Loading…
Reference in New Issue
Block a user