aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/test.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-22 23:31:44 +0800
committerGopher Robot <gobot@golang.org>2024-03-26 19:58:28 +0000
commit1e12eab8705d1d8d7472be9147a39caa1c8380db (patch)
treecde9e173c3e757516f56f9e66c41065513738832 /src/cmd/dist/test.go
parent4217877670e94b88ddd1ee1041b31d5825b08e2a (diff)
downloadgo-1e12eab8705d1d8d7472be9147a39caa1c8380db.tar.gz
go-1e12eab8705d1d8d7472be9147a39caa1c8380db.zip
all: fix a large number of comments
Partial typo corrections, following https://go.dev/wiki/Spelling Change-Id: I2357906ff2ea04305c6357418e4e9556e20375d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/573776 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r--src/cmd/dist/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 81bf86b688..6f4d23182a 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -1592,7 +1592,7 @@ func raceDetectorSupported(goos, goarch string) bool {
}
}
-// buildModeSupports is a copy of the function
+// buildModeSupported is a copy of the function
// internal/platform.BuildModeSupported, which can't be used here
// because cmd/dist can not import internal packages during bootstrap.
func buildModeSupported(compiler, buildmode, goos, goarch string) bool {