aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authoremahiro <ema.hiro@gmail.com>2021-10-22 00:34:33 +0900
committerIan Lance Taylor <iant@golang.org>2021-10-21 17:23:58 +0000
commit02a36668aa13c3182d29da678764c8f4f5a9499b (patch)
tree721a7dd276ac04d30cdeb9e0d285841bbafd3ea6 /src/runtime/proc.go
parent6ec9a1da2d48fdc94093feb0ea3465129e11fc24 (diff)
downloadgo-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.go2
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 {