1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:04:49 -07:00

bytes: fix typo in comment

Change-Id: Ia739337dc9961422982912cc6a669022559fb991
Reviewed-on: https://go-review.googlesource.com/38365
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josselin Costanzi 2017-03-22 20:26:33 +01:00 committed by Brad Fitzpatrick
parent 352e19c92c
commit 0d3cd51c9c

View File

@ -95,7 +95,7 @@ func Index(s, sep []byte) int {
return -1
}
// Special case for when we must count occurences of a single byte.
// Special case for when we must count occurrences of a single byte.
func countByte(s []byte, c byte) int
// Count counts the number of non-overlapping instances of sep in s.