Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: typo in src/net/ip.go for private func parseIPv6 #33455

Closed
gaissmai opened this issue Aug 4, 2019 · 1 comment
Closed

net: typo in src/net/ip.go for private func parseIPv6 #33455

gaissmai opened this issue Aug 4, 2019 · 1 comment

Comments

@gaissmai
Copy link

@gaissmai gaissmai commented Aug 4, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.7 linux/amd64

Does this issue reproduce with the latest release?

yes

What did you do?

read the src file, found a copy paste error in the doc

What did you expect to see?

// parseIPv6 parses s as a literal IPv6 address described in RFC 4291
// and RFC 5952.
func parseIPv6(s string) (ip IP) {

What did you see instead?

// parseIPv6Zone parses s as a literal IPv6 address described in RFC 4291
// and RFC 5952.
func parseIPv6(s string) (ip IP) {

@agnivade

This comment has been minimized.

Copy link
Contributor

@agnivade agnivade commented Aug 4, 2019

Hi @gaissmai , thank you for reporting this. However, this has already been fixed in the latest master by this change - https://go-review.googlesource.com/c/go/+/180037.

In future, you do not need to open issues for minor typos like this. Please feel free to directly send patches. Of course, if you do not feel like sending one, it is okay to file an issue. :)

I will go ahead and close this as it has already been fixed.

@agnivade agnivade closed this Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.