diff options
| author | Josselin Costanzi <josselin@costanzi.fr> | 2017-03-22 20:26:33 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-22 19:41:54 +0000 |
| commit | 0d3cd51c9c0eeec13aa0c2eb139659ebc7d09008 (patch) | |
| tree | 2dfd020844ffb9c00e72060eddfc59238b57d539 /src | |
| parent | 352e19c92c780e0c5592f1ddaa0b81b1ea1a66af (diff) | |
| download | go-0d3cd51c9c0eeec13aa0c2eb139659ebc7d09008.tar.xz | |
bytes: fix typo in comment
Change-Id: Ia739337dc9961422982912cc6a669022559fb991
Reviewed-on: https://go-review.googlesource.com/38365
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/bytes/bytes_amd64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/bytes_amd64.go b/src/bytes/bytes_amd64.go index 5b42f272d0..ac9c002d6d 100644 --- a/src/bytes/bytes_amd64.go +++ b/src/bytes/bytes_amd64.go @@ -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. |
