mirror of
https://github.com/golang/go
synced 2024-09-29 12:04:28 -06:00
net: fix the doc string on parseIPv6
Change-Id: Ie9fef7767f3263ef7daed8415ab2f59c5377a3cb
GitHub-Last-Rev: a4d13b7452
GitHub-Pull-Request: golang/go#32385
Reviewed-on: https://go-review.googlesource.com/c/go/+/180037
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6f7542e4cb
commit
ee46250e06
@ -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