mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
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:
parent
e87b171013
commit
e9895d92e0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue