summaryrefslogtreecommitdiff
path: root/src/pkg/container/list/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/container/list/example_test.go')
-rw-r--r--src/pkg/container/list/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/list/example_test.go b/src/pkg/container/list/example_test.go
index 7361212d7..362178401 100644
--- a/src/pkg/container/list/example_test.go
+++ b/src/pkg/container/list/example_test.go
@@ -17,7 +17,7 @@ func Example() {
l.InsertBefore(3, e4)
l.InsertAfter(2, e1)
- // Iterate through list and and print its contents.
+ // Iterate through list and print its contents.
for e := l.Front(); e != nil; e = e.Next() {
fmt.Println(e.Value)
}