Commit 077989cf authored by Rob Pike's avatar Rob Pike

container/list: fix typo in comment

Fixes #6058.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12643043
parent fc714594
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment