1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:58:09 -07:00

container/list: fix typo in comment

Fixes #6058.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12643043
This commit is contained in:
Rob Pike 2013-08-08 12:41:19 +10:00
parent fc714594d7
commit 077989cf94

View 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)