aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytes/bytes.go')
-rw-r--r--src/bytes/bytes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/bytes.go b/src/bytes/bytes.go
index ac15ab9b69..bdb0366897 100644
--- a/src/bytes/bytes.go
+++ b/src/bytes/bytes.go
@@ -187,7 +187,7 @@ func IndexRune(s []byte, r rune) int {
return -1
fallback:
- // Switch to bytealg.Index, if available, or a brute for search when
+ // Switch to bytealg.Index, if available, or a brute force search when
// IndexByte returns too many false positives.
if haveFastIndex {
if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {