Skip to content

Commit 66318d2

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Junyang Shao <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 34aef89 commit 66318d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/abi/type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ func writeVarint(buf []byte, n int) int {
655655
}
656656
}
657657

658-
// Name returns the tag string for n, or empty if there is none.
658+
// Name returns the name of n, or empty if it does not actually have a name.
659659
func (n Name) Name() string {
660660
if n.Bytes == nil {
661661
return ""

0 commit comments

Comments
 (0)