mirror of
https://github.com/golang/go
synced 2024-11-22 19:05:01 -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:
parent
fc714594d7
commit
077989cf94
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user