diff options
author | Yasser Abdolmaleki <yasser@yasser.ca> | 2020-05-30 17:42:34 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2020-05-31 02:07:28 +0000 |
commit | f1f8f9af9a55d73dfc6603a93bee0559fdc9024d (patch) | |
tree | 309c873a45bed3b3d9e5bdb0903bd89bb50982ff /src/container | |
parent | 8da78625b1fe2a6141d331f54248913936dc49c7 (diff) | |
download | go-f1f8f9af9a55d73dfc6603a93bee0559fdc9024d.tar.gz go-f1f8f9af9a55d73dfc6603a93bee0559fdc9024d.zip |
container/list: fix typo in function comments
The correct word to use here is 'another' not 'an other'
Change-Id: Ie4f748ae94a5945dceb52779222ffd8cf36b8845
Reviewed-on: https://go-review.googlesource.com/c/go/+/235838
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/container')
-rw-r--r-- | src/container/list/list.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/container/list/list.go b/src/container/list/list.go index cc9ff0988c..210424ceed 100644 --- a/src/container/list/list.go +++ b/src/container/list/list.go @@ -219,7 +219,7 @@ func (l *List) MoveAfter(e, mark *Element) { l.move(e, mark) } -// PushBackList inserts a copy of an other list at the back of list l. +// PushBackList inserts a copy of another list at the back of list l. // The lists l and other may be the same. They must not be nil. func (l *List) PushBackList(other *List) { l.lazyInit() @@ -228,7 +228,7 @@ func (l *List) PushBackList(other *List) { } } -// PushFrontList inserts a copy of an other list at the front of list l. +// PushFrontList inserts a copy of another list at the front of list l. // The lists l and other may be the same. They must not be nil. func (l *List) PushFrontList(other *List) { l.lazyInit() |