From: Brad Fitzpatrick Date: Mon, 2 Apr 2018 20:24:43 +0000 (+0000) Subject: net/url: update docs to match renamed receiver X-Git-Tag: go1.11beta1~855 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dbf59dadfaa688bb0c9a5162ad1622fbf0411665;p=gostls13.git net/url: update docs to match renamed receiver 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 --- diff --git a/src/net/url/url.go b/src/net/url/url.go index 4a815148bf..7bcfac44aa 100644 --- a/src/net/url/url.go +++ b/src/net/url/url.go @@ -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