]> Cypherpunks repositories - gostls13.git/commitdiff
container/list: Add missing period to doc comment for Front
authorCaleb Spare <cespare@gmail.com>
Tue, 17 Dec 2013 22:21:11 +0000 (14:21 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 17 Dec 2013 22:21:11 +0000 (14:21 -0800)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/38540046

src/pkg/container/list/list.go

index ed2d15a45756a32d3346e6e931e24a26935afd35..1cc7e311bb896996baa9a9f55e129adb78c23502 100644 (file)
@@ -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