net/netip: ParsePrefix documentation typo "2001::db8::/32" #50950
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Not applicable
What did you do?
Read docs/code
What did you expect to see?
Valid CIDR notation
What did you see instead?
Invalid CIDR notation
"2001::db8::/32" includes an invalid IPv6 address. The double colon may appear only once. This code panics:
go/src/net/netip/netip.go
Line 1291 in 41f485b
The text was updated successfully, but these errors were encountered: