mirror of
https://github.com/golang/go
synced 2024-11-17 06:04:47 -07:00
net/netip: fix type name in z0, z4, z6noz comment
This was copied from the respective comment in package inet.af/netaddr where the type is named IP. In net/netip the type is named Addr. Adjust the comment accordingly. Change-Id: Ib2d1667e6b8f474b3589dea0b37d5e05e58f2e05 Reviewed-on: https://go-review.googlesource.com/c/go/+/406755 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
6382c39e15
commit
3483ce0a28
@ -63,8 +63,8 @@ type Addr struct {
|
||||
z *intern.Value
|
||||
}
|
||||
|
||||
// z0, z4, and z6noz are sentinel IP.z values.
|
||||
// See the IP type's field docs.
|
||||
// z0, z4, and z6noz are sentinel Addr.z values.
|
||||
// See the Addr type's field docs.
|
||||
var (
|
||||
z0 = (*intern.Value)(nil)
|
||||
z4 = new(intern.Value)
|
||||
|
Loading…
Reference in New Issue
Block a user