From 3c808164ad94884915f0ae4512eefadd944114e9 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Sun, 28 Oct 2012 10:07:59 +1100 Subject: [PATCH] sort: Fixed a typo in the documentation for SearchStrings. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6777066 --- src/pkg/sort/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/sort/search.go b/src/pkg/sort/search.go index 4f0ce55c3c5..2dca6bf1331 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 {