From 0d3cd51c9c0eeec13aa0c2eb139659ebc7d09008 Mon Sep 17 00:00:00 2001 From: Josselin Costanzi Date: Wed, 22 Mar 2017 20:26:33 +0100 Subject: [PATCH] bytes: fix typo in comment Change-Id: Ia739337dc9961422982912cc6a669022559fb991 Reviewed-on: https://go-review.googlesource.com/38365 Reviewed-by: Brad Fitzpatrick --- src/bytes/bytes_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.