mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
34aef89366
commit
66318d2b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue