]> Cypherpunks repositories - gostls13.git/commitdiff
strings: fix period placement in Search doc comment
authorCaleb Spare <cespare@gmail.com>
Wed, 18 Nov 2015 02:41:00 +0000 (18:41 -0800)
committerAndrew Gerrand <adg@golang.org>
Wed, 18 Nov 2015 02:58:10 +0000 (02:58 +0000)
Change-Id: Ieba62c0cb668daeb343f72fdd568e46b0b21b7d6
Reviewed-on: https://go-review.googlesource.com/16998
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/sort/search.go

index 8a2c1c33b14b36013925f74e6e560aca2d1b3c21..de8178ff484ef43f4a01281a243857bbb5a83cbd 100644 (file)
@@ -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