From a3bc52b7862621ea2ca246d6637d0490cae91988 Mon Sep 17 00:00:00 2001 From: ZhangYunHao Date: Wed, 14 Oct 2020 03:34:57 +0000 Subject: [PATCH] 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 --- src/sync/poolqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync/poolqueue.go b/src/sync/poolqueue.go index 22f74969d96..9be83e9a433 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{}