diff options
author | Ian Lance Taylor <iant@golang.org> | 2023-09-05 14:39:56 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-09-05 21:59:53 +0000 |
commit | b6372114b234c779b2db5773721cf88c2289898f (patch) | |
tree | 4dbefbe88580e66798c70172e62daf4626ac2c71 /src/cmd/go/internal/load/pkg.go | |
parent | a40404da748f0a9c7da19b077634fd7334ca5802 (diff) | |
download | go-b6372114b234c779b2db5773721cf88c2289898f.tar.gz go-b6372114b234c779b2db5773721cf88c2289898f.zip |
cmd/go: correct function name in comment
Change-Id: I9d8056117367998c3723ec4cc09f47b46ec8b4ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/525855
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/go/internal/load/pkg.go')
-rw-r--r-- | src/cmd/go/internal/load/pkg.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go index 1adc9220ba..33e46f5f65 100644 --- a/src/cmd/go/internal/load/pkg.go +++ b/src/cmd/go/internal/load/pkg.go @@ -2596,7 +2596,7 @@ func LinkerDeps(p *Package) ([]string, error) { return deps, nil } -// externalLinkingForced reports the reason external linking is required +// externalLinkingReason reports the reason external linking is required // even for programs that do not use cgo, or the empty string if external // linking is not required. func externalLinkingReason(p *Package) (what string) { |