Commit d94fedab authored by Rob Pike's avatar Rob Pike

list: update comment to state that the zero value is ready to use.

R=gri
CC=golang-dev
https://golang.org/cl/2147042
parent 1cb951d9
......@@ -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
......
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