diff options
Diffstat (limited to 'src/net/netip/netip.go')
-rw-r--r-- | src/net/netip/netip.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netip/netip.go b/src/net/netip/netip.go index 8fad25db8d..7d8b20384e 100644 --- a/src/net/netip/netip.go +++ b/src/net/netip/netip.go @@ -456,7 +456,7 @@ func (ip Addr) lessOrEq(ip2 Addr) bool { return ip.Compare(ip2) <= 0 } // Is4 reports whether ip is an IPv4 address. // -// It returns false for IPv4-mapped IPv6 addresses. See IP.Unmap. +// It returns false for IPv4-mapped IPv6 addresses. See Addr.Unmap. func (ip Addr) Is4() bool { return ip.z == z4 } |