mirror of
https://github.com/golang/go.git
synced 2026-02-04 18:05:03 +03:00
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:
committed by
Gopher Robot
parent
34aef89366
commit
66318d2b4b
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user