From: Ian Lance Taylor Date: Thu, 6 Nov 2025 00:19:36 +0000 (-0800) Subject: internal/abi: correctly describe result in Name.Name doc comment X-Git-Tag: go1.26rc1~313 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=66318d2b4be8e630e16227e175c2c23c05c4398f;p=gostls13.git 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 Reviewed-by: Junyang Shao Auto-Submit: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI --- diff --git a/src/internal/abi/type.go b/src/internal/abi/type.go index 1920a8a37f..7f44a9de56 100644 --- a/src/internal/abi/type.go +++ b/src/internal/abi/type.go @@ -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 { if n.Bytes == nil { return ""