From: Rob Pike Date: Mon, 5 Aug 2013 03:35:42 +0000 (+1000) Subject: doc/progs/slices.go: fix typo in comment X-Git-Tag: go1.2rc2~792 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c43cca7d92a0188b956584bc76ceef94af543bc3;p=gostls13.git doc/progs/slices.go: fix typo in comment Fixes #6025. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/12387046 --- diff --git a/doc/progs/slices.go b/doc/progs/slices.go index 0461684b70..f9af5feaa0 100644 --- a/doc/progs/slices.go +++ b/doc/progs/slices.go @@ -28,7 +28,7 @@ func AppendByte(slice []byte, data ...byte) []byte { // STOP OMIT // Filter returns a new slice holding only -// the elements of s that satisfy f() +// the elements of s that satisfy fn. func Filter(s []int, fn func(int) bool) []int { var p []int // == nil for _, i := range s {