diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2024-08-23 13:19:17 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-08-24 00:51:40 +0000 |
| commit | 96d8ff00c2d6a88384863a656fb5e53716b614d3 (patch) | |
| tree | cd41c602025375fbe836032f82eb4811281c54dc /src/bytes/bytes.go | |
| parent | 08707d66c350927560faa11b0c195d37d281ab89 (diff) | |
| download | go-96d8ff00c2d6a88384863a656fb5e53716b614d3.tar.xz | |
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 <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/bytes/bytes.go')
| -rw-r--r-- | src/bytes/bytes.go | 2 |
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 { |
