aboutsummaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2025-10-31 17:42:00 +0800
committerRobert Griesemer <gri@google.com>2025-11-03 10:05:39 -0800
commite12d8a90bf877af5984ae74b4eff00006d4d953a (patch)
treefc1688f767f153c697cdaec06b8ace8ddb06e9fa /src/strings
parentc5559344acf76c6ddbbb6f222354a2dd88e0abba (diff)
downloadgo-e12d8a90bf877af5984ae74b4eff00006d4d953a.tar.xz
all: remove extra space in the comments
Change-Id: I26302d801732f40b1fe6b30ff69d222047bca490 Reviewed-on: https://go-review.googlesource.com/c/go/+/716740 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/strings_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings_test.go b/src/strings/strings_test.go
index b10b5f05cc..edfeb0e813 100644
--- a/src/strings/strings_test.go
+++ b/src/strings/strings_test.go
@@ -694,7 +694,7 @@ func rot13(r rune) rune {
func TestMap(t *testing.T) {
// Run a couple of awful growth/shrinkage tests
a := tenRunes('a')
- // 1. Grow. This triggers two reallocations in Map.
+ // 1. Grow. This triggers two reallocations in Map.
maxRune := func(rune) rune { return unicode.MaxRune }
m := Map(maxRune, a)
expect := tenRunes(unicode.MaxRune)