Skip to content

net/url: fix typo in method Redacted()  #60716

@starius

Description

@starius

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

$ go version

1.20.5

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.SuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions