diff options
| author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2024-08-19 00:07:37 +0300 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-08-19 19:09:04 +0000 |
| commit | d5f7da79870800ac2f7c2a68501f73a83d481d16 (patch) | |
| tree | a55ef726fd71e6a9ebe82ecd42966f8832378515 /src/bytes | |
| parent | 433c1d3b4ab41fa4272bd61f8ad2918ccd1e390d (diff) | |
| download | go-d5f7da79870800ac2f7c2a68501f73a83d481d16.tar.xz | |
all: remove duplicated words in comments
Change-Id: Id991ec0826a4e2857f00330b4b7ff2b71907b789
Reviewed-on: https://go-review.googlesource.com/c/go/+/606615
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/bytes')
| -rw-r--r-- | src/bytes/bytes_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/bytes_test.go b/src/bytes/bytes_test.go index da16882e82..ead581718a 100644 --- a/src/bytes/bytes_test.go +++ b/src/bytes/bytes_test.go @@ -489,7 +489,7 @@ func TestIndexRune(t *testing.T) { {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", 0xD800, -1}, // Surrogate pair {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", utf8.MaxRune + 1, -1}, - // Test the cutover to to bytealg.Index when it is triggered in + // Test the cutover to bytealg.Index when it is triggered in // the middle of rune that contains consecutive runs of equal bytes. {"aaaaaKKKK\U000bc104", '\U000bc104', 17}, // cutover: (n + 16) / 8 {"aaaaaKKKK鄄", '鄄', 17}, |
