From f1f8f9af9a55d73dfc6603a93bee0559fdc9024d Mon Sep 17 00:00:00 2001 From: Yasser Abdolmaleki Date: Sat, 30 May 2020 17:42:34 -0700 Subject: [PATCH] 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 --- src/container/list/list.go | 4 ++-- 1 file 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() -- 2.50.0