diff options
| author | Caleb Spare <cespare@gmail.com> | 2013-12-17 14:21:11 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-12-17 14:21:11 -0800 |
| commit | e9895d92e0b55b2abede9779cb3c8443affb3d7b (patch) | |
| tree | 60a09b9c583152df25ca88238601bfbc1d6764fd /src | |
| parent | e87b1710138e512019cc2bb22420a15cc5336bf3 (diff) | |
| download | go-e9895d92e0b55b2abede9779cb3c8443affb3d7b.tar.xz | |
container/list: Add missing period to doc comment for Front
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/38540046
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/container/list/list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/list/list.go b/src/pkg/container/list/list.go index ed2d15a457..1cc7e311bb 100644 --- a/src/pkg/container/list/list.go +++ b/src/pkg/container/list/list.go @@ -65,7 +65,7 @@ func New() *List { return new(List).Init() } // The complexity is O(1). func (l *List) Len() int { return l.len } -// Front returns the first element of list l or nil +// Front returns the first element of list l or nil. func (l *List) Front() *Element { if l.len == 0 { return nil |
