From: Rob Pike Date: Fri, 3 Sep 2010 07:11:56 +0000 (+1000) Subject: list: update comment to state that the zero value is ready to use. X-Git-Tag: weekly.2010-09-06~14 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d94fedabb435ec0afbecace94d0711184461440a;p=gostls13.git list: update comment to state that the zero value is ready to use. R=gri CC=golang-dev https://golang.org/cl/2147042 --- diff --git a/src/pkg/container/list/list.go b/src/pkg/container/list/list.go index 40c9680999..16f7a23f1d 100644 --- a/src/pkg/container/list/list.go +++ b/src/pkg/container/list/list.go @@ -25,6 +25,7 @@ func (e *Element) Next() *Element { return e.next } func (e *Element) Prev() *Element { return e.prev } // List represents a doubly linked list. +// The zero value for List is an empty list ready to use. type List struct { front, back *Element len int