]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: fix typo in comment
authorJosselin Costanzi <josselin@costanzi.fr>
Wed, 22 Mar 2017 19:26:33 +0000 (20:26 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Mar 2017 19:41:54 +0000 (19:41 +0000)
Change-Id: Ia739337dc9961422982912cc6a669022559fb991
Reviewed-on: https://go-review.googlesource.com/38365
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/bytes/bytes_amd64.go

index 5b42f272d09127f2639289cab1d14e1b3830f617..ac9c002d6d39b6be339a00723345db75da2c66eb 100644 (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.