1
0
mirror of https://github.com/golang/go synced 2024-11-17 06:54:48 -07:00

net: fix the doc string on parseIPv6

This commit is contained in:
frennkie 2019-06-02 07:38:55 +02:00 committed by root
parent 6f7542e4cb
commit a4d13b7452

View File

@ -565,7 +565,7 @@ func parseIPv6Zone(s string) (IP, string) {
return parseIPv6(s), zone 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. // and RFC 5952.
func parseIPv6(s string) (ip IP) { func parseIPv6(s string) (ip IP) {
ip = make(IP, IPv6len) ip = make(IP, IPv6len)