Commit 0d3cd51c authored by Josselin Costanzi's avatar Josselin Costanzi Committed by Brad Fitzpatrick

bytes: fix typo in comment

Change-Id: Ia739337dc9961422982912cc6a669022559fb991
Reviewed-on: https://go-review.googlesource.com/38365Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 352e19c9
......@@ -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.
......
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