We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070951c commit 1c64265Copy full SHA for 1c64265
src/net/netip/netip.go
@@ -1288,7 +1288,7 @@ func (p Prefix) isZero() bool { return p == Prefix{} }
1288
func (p Prefix) IsSingleIP() bool { return p.bits != 0 && int(p.bits) == p.ip.BitLen() }
1289
1290
// ParsePrefix parses s as an IP address prefix.
1291
-// The string can be in the form "192.168.1.0/24" or "2001::db8::/32",
+// The string can be in the form "192.168.1.0/24" or "2001:db8::/32",
1292
// the CIDR notation defined in RFC 4632 and RFC 4291.
1293
//
1294
// Note that masked address bits are not zeroed. Use Masked for that.
0 commit comments