Skip to content

Commit

Permalink
net/url: update docs to match renamed receiver
Browse files Browse the repository at this point in the history
The receiver was renamed 6 years ago in https://golang.org/cl/5674065
but the docs weren't updated to match.

Change-Id: I5e72cedc0e0f067382545d272f48a9c7dfb5a9b7
Reviewed-on: https://go-review.googlesource.com/104116
Reviewed-by: Ian Lance Taylor <iant@golang.org>
  • Loading branch information
bradfitz committed Apr 12, 2018
1 parent 740a209 commit dbf59da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/url/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ func (u *URL) Parse(ref string) (*URL, error) {
}

// ResolveReference resolves a URI reference to an absolute URI from
// an absolute base URI, per RFC 3986 Section 5.2. The URI reference
// an absolute base URI u, per RFC 3986 Section 5.2. The URI reference
// may be relative or absolute. ResolveReference always returns a new
// URL instance, even if the returned URL is identical to either the
// base or reference. If ref is an absolute URL, then ResolveReference
Expand Down

0 comments on commit dbf59da

Please sign in to comment.