summaryrefslogtreecommitdiff
path: root/src/pkg/container
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-08-08 12:41:19 +1000
committerRob Pike <r@golang.org>2013-08-08 12:41:19 +1000
commitff3aeea45c563683856a54a0b2eb953c6e694235 (patch)
tree82b958d4e69644704a5739f7a5ff7c070a332faf /src/pkg/container
parent159a7077d67f801510d7c308357e5160fab77c37 (diff)
downloadgo-ff3aeea45c563683856a54a0b2eb953c6e694235.tar.gz
container/list: fix typo in comment
Fixes issue 6058. R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/12643043
Diffstat (limited to 'src/pkg/container')
-rw-r--r--src/pkg/container/list/list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/list/list.go b/src/pkg/container/list/list.go
index 53e839ed6..34e6b9a50 100644
--- a/src/pkg/container/list/list.go
+++ b/src/pkg/container/list/list.go
@@ -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)