]> Cypherpunks repositories - gostls13.git/commitdiff
container/list: fix typo in comment
authorRob Pike <r@golang.org>
Thu, 8 Aug 2013 02:41:19 +0000 (12:41 +1000)
committerRob Pike <r@golang.org>
Thu, 8 Aug 2013 02:41:19 +0000 (12:41 +1000)
Fixes #6058.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12643043

src/pkg/container/list/list.go

index 53e839ed6559682b02c8dc0de7a49607213e1573..34e6b9a50dfc7ddb4445fa39e2b2e72a511bcddd 100644 (file)
@@ -127,7 +127,7 @@ func (l *List) Remove(e *Element) interface{} {
        return e.Value
 }
 
-// Pushfront inserts a new element e with value v at the front of list l and returns e.
+// PushFront inserts a new element e with value v at the front of list l and returns e.
 func (l *List) PushFront(v interface{}) *Element {
        l.lazyInit()
        return l.insertValue(v, &l.root)