container/list: Add missing period to doc comment for Front

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/38540046
This commit is contained in:
Caleb Spare 2013-12-17 14:21:11 -08:00 committed by Brad Fitzpatrick
parent e87b171013
commit e9895d92e0

View 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