aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/goobj
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-09-29 12:46:10 +0000
committerGopher Robot <gobot@golang.org>2022-09-29 22:58:11 +0000
commitc69d6d8b3e787e6cd87e0a8a3c726720296462b1 (patch)
tree66ffbb2764057471147a2445ac8abccd06a8373b /src/cmd/internal/goobj
parent84c188008e4a2c772308e2b6c74d4c353303d308 (diff)
downloadgo-c69d6d8b3e787e6cd87e0a8a3c726720296462b1.tar.xz
cmd: fix a few function names on comments
Change-Id: Ia0896bd1edf2558821244fecd1c297b599472f47 GitHub-Last-Rev: cfd1e1091a064cdc38469c02c6c013635d7d437b GitHub-Pull-Request: golang/go#55944 Reviewed-on: https://go-review.googlesource.com/c/go/+/436637 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/goobj')
-rw-r--r--src/cmd/internal/goobj/mkbuiltin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/goobj/mkbuiltin.go b/src/cmd/internal/goobj/mkbuiltin.go
index d96ac41c1a..57e39dc47e 100644
--- a/src/cmd/internal/goobj/mkbuiltin.go
+++ b/src/cmd/internal/goobj/mkbuiltin.go
@@ -116,7 +116,7 @@ func mkbuiltin(w io.Writer) {
fmt.Fprintln(w, "}")
}
-// addBasicTypes returns the symbol names for basic types that are
+// enumerateBasicTypes returns the symbol names for basic types that are
// defined in the runtime and referenced in other packages.
// Needs to be kept in sync with reflect.go:WriteBasicTypes() and
// reflect.go:writeType() in the compiler.