net/url: fix typo in method Redacted() #60716
Labels
Documentation
NeedsFix
The path to resolution is known, but the work has not been done.
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Open https://pkg.go.dev/net/url#URL.Redacted
It says "Only the password in u.URL is redacted."
Should be "Only the password in u.User is redacted."
The text was updated successfully, but these errors were encountered: