From: Patrick Smith Date: Sat, 27 Oct 2012 23:07:59 +0000 (+1100) Subject: sort: Fixed a typo in the documentation for SearchStrings. X-Git-Tag: go1.1rc2~2052 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c808164ad94884915f0ae4512eefadd944114e9;p=gostls13.git sort: Fixed a typo in the documentation for SearchStrings. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6777066 --- diff --git a/src/pkg/sort/search.go b/src/pkg/sort/search.go index 4f0ce55c3c..2dca6bf133 100644 --- a/src/pkg/sort/search.go +++ b/src/pkg/sort/search.go @@ -87,7 +87,7 @@ func SearchFloat64s(a []float64, x float64) int { return Search(len(a), func(i int) bool { return a[i] >= x }) } -// SearchStrings searches for x slice a sorted slice of strings and returns the index +// SearchStrings searches for x in a sorted slice of strings and returns the index // as specified by Search. The slice must be sorted in ascending order. // func SearchStrings(a []string, x string) int {