]> Cypherpunks repositories - gostls13.git/commitdiff
container/list: fix typo
authorTaj Khattra <taj.khattra@gmail.com>
Sun, 28 Oct 2012 10:16:50 +0000 (21:16 +1100)
committerNigel Tao <nigeltao@golang.org>
Sun, 28 Oct 2012 10:16:50 +0000 (21:16 +1100)
R=golang-dev, fullung, dave, minux.ma
CC=golang-dev
https://golang.org/cl/6682046

src/pkg/container/list/list.go

index e29e3a79ac7c4c6f8908b487df384109cf4e159f..69818c3b75be3bb4397305813a65c7077d898d2d 100644 (file)
@@ -176,7 +176,7 @@ func (l *List) MoveToBack(e *Element) {
        l.insert(l.remove(e), l.root.prev)
 }
 
-// PuchBackList inserts a copy of an other list at the back of list l.
+// PushBackList inserts a copy of an other list at the back of list l.
 // The lists l and other may be the same.
 func (l *List) PushBackList(other *List) {
        l.lazyInit()