]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo of pushBackAll
authoremahiro <ema.hiro@gmail.com>
Thu, 21 Oct 2021 15:34:33 +0000 (00:34 +0900)
committerIan Lance Taylor <iant@golang.org>
Thu, 21 Oct 2021 17:23:58 +0000 (17:23 +0000)
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>

src/runtime/proc.go

index b80f09f993425a32cfbe09ddbf456015871cab36..990637e21a1f54926d1b46a544f4b47a6a7fb107 100644 (file)
@@ -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 {