From: Jes Cok Date: Fri, 23 Aug 2024 13:19:17 +0000 (+0000) Subject: bytes: fix a typo X-Git-Tag: go1.24rc1~1114 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=96d8ff00c2d6a88384863a656fb5e53716b614d3;p=gostls13.git bytes: fix a typo Change-Id: Iecbfe986da386b5c9b8c366904f659acc8f34cfc GitHub-Last-Rev: ed6c744bbd9ff61874e8dd92f4cef01851ed1f09 GitHub-Pull-Request: golang/go#69039 Reviewed-on: https://go-review.googlesource.com/c/go/+/608015 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Auto-Submit: Ian Lance Taylor --- 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 {