]> Cypherpunks repositories - gostls13.git/commitdiff
internal/abi: correctly describe result in Name.Name doc comment
authorIan Lance Taylor <iant@golang.org>
Thu, 6 Nov 2025 00:19:36 +0000 (16:19 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 12 Nov 2025 18:03:46 +0000 (10:03 -0800)
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>

src/internal/abi/type.go

index 1920a8a37fb25530f64d63a8923d524b8d713689..7f44a9de568f8238ff047708bea8922b10f979a9 100644 (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 {
        if n.Bytes == nil {
                return ""