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 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
Copy link
Contributor

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 as completed Aug 4, 2019
@golang golang locked and limited conversation to collaborators Aug 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants