diff options
author | emahiro <ema.hiro@gmail.com> | 2021-10-22 00:34:33 +0900 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-10-21 17:23:58 +0000 |
commit | 02a36668aa13c3182d29da678764c8f4f5a9499b (patch) | |
tree | 721a7dd276ac04d30cdeb9e0d285841bbafd3ea6 /src/runtime/proc.go | |
parent | 6ec9a1da2d48fdc94093feb0ea3465129e11fc24 (diff) | |
download | go-02a36668aa13c3182d29da678764c8f4f5a9499b.tar.gz go-02a36668aa13c3182d29da678764c8f4f5a9499b.zip |
runtime: fix typo of pushBackAll
Fixes: #49081
Change-Id: Ie6742f1e7a60c2d92ce1283bcfaa3eac521440a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/357629
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
Trust: Daniel Martà <mvdan@mvdan.cc>
Trust: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index b80f09f993..990637e21a 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -6123,7 +6123,7 @@ func (q *gQueue) pushBack(gp *g) { q.tail.set(gp) } -// pushBackAll adds all Gs in l2 to the tail of q. After this q2 must +// pushBackAll adds all Gs in q2 to the tail of q. After this q2 must // not be used. func (q *gQueue) pushBackAll(q2 gQueue) { if q2.tail == 0 { |