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>
This commit is contained in:
Yasser Abdolmaleki 2020-05-30 17:42:34 -07:00 committed by Robert Griesemer
parent 8da78625b1
commit f1f8f9af9a
1 changed files with 2 additions and 2 deletions

View File

@ -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()