1
0
mirror of https://github.com/golang/go synced 2024-09-30 08:28:34 -06:00

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>
This commit is contained in:
Caleb Spare 2015-11-17 18:41:00 -08:00 committed by Andrew Gerrand
parent 8d2f60f8a8
commit 53c21df121

View File

@ -13,7 +13,7 @@ package sort
// and then true for the (possibly empty) remainder; Search returns // and then true for the (possibly empty) remainder; Search returns
// the first true index. If there is no such index, Search returns n. // 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, // (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). // 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 // A common use of Search is to find the index i for a value x in