From: Ian Lance Taylor Date: Tue, 5 Sep 2023 21:39:56 +0000 (-0700) Subject: cmd/go: correct function name in comment X-Git-Tag: go1.22rc1~993 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b6372114b234c779b2db5773721cf88c2289898f;p=gostls13.git 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 Reviewed-by: Bryan Mills LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- 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) {