aboutsummaryrefslogtreecommitdiff
path: root/src/sort
diff options
context:
space:
mode:
authorCaleb Spare <cespare@gmail.com>2015-11-17 18:41:00 -0800
committerAndrew Gerrand <adg@golang.org>2015-11-18 02:58:10 +0000
commit53c21df12153871bf3bfcc8de25ebab0ffc008c7 (patch)
tree6ccd81bb0a67f152959dcc90dc1b4fe760d1bfaf /src/sort
parent8d2f60f8a8d060f9ffa4af378881cffba9f0af30 (diff)
downloadgo-53c21df12153871bf3bfcc8de25ebab0ffc008c7.tar.gz
go-53c21df12153871bf3bfcc8de25ebab0ffc008c7.zip
strings: fix period placement in Search doc comment
Change-Id: Ieba62c0cb668daeb343f72fdd568e46b0b21b7d6 Reviewed-on: https://go-review.googlesource.com/16998 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/sort')
-rw-r--r--src/sort/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort/search.go b/src/sort/search.go
index 8a2c1c33b1..de8178ff48 100644
--- a/src/sort/search.go
+++ b/src/sort/search.go
@@ -13,7 +13,7 @@ package sort
// and then true for the (possibly empty) remainder; Search returns
// the first true index. If there is no such index, Search returns n.
// (Note that the "not found" return value is not -1 as in, for instance,
-// strings.Index).
+// strings.Index.)
// Search calls f(i) only for i in the range [0, n).
//
// A common use of Search is to find the index i for a value x in