Commit 3c808164 authored by Patrick Smith's avatar Patrick Smith Committed by David Symonds

sort: Fixed a typo in the documentation for SearchStrings.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6777066
parent 5611e8b5
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment