internal/abi: correctly describe result in Name.Name doc comment

Change-Id: I3d0b138a4b5fbdd6a6c7a26984f8ce5d3ea4c7ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/718320
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Ian Lance Taylor 2025-11-05 16:19:36 -08:00 committed by Gopher Robot
parent 34aef89366
commit 66318d2b4b

View file

@ -655,7 +655,7 @@ func writeVarint(buf []byte, n int) int {
} }
} }
// Name returns the tag string for n, or empty if there is none. // Name returns the name of n, or empty if it does not actually have a name.
func (n Name) Name() string { func (n Name) Name() string {
if n.Bytes == nil { if n.Bytes == nil {
return "" return ""