mirror of
https://github.com/golang/go
synced 2024-11-17 04:04:46 -07:00
net: fix the doc string on parseIPv6
This commit is contained in:
parent
6f7542e4cb
commit
a4d13b7452
@ -565,7 +565,7 @@ func parseIPv6Zone(s string) (IP, string) {
|
||||
return parseIPv6(s), zone
|
||||
}
|
||||
|
||||
// parseIPv6Zone parses s as a literal IPv6 address described in RFC 4291
|
||||
// parseIPv6 parses s as a literal IPv6 address described in RFC 4291
|
||||
// and RFC 5952.
|
||||
func parseIPv6(s string) (ip IP) {
|
||||
ip = make(IP, IPv6len)
|
||||
|
Loading…
Reference in New Issue
Block a user