]> Cypherpunks repositories - gostls13.git/commitdiff
net/url: update docs to match renamed receiver
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 2 Apr 2018 20:24:43 +0000 (20:24 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 12 Apr 2018 17:39:23 +0000 (17:39 +0000)
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>
src/net/url/url.go

index 4a815148bfed86a7479bd1557c219a5771335808..7bcfac44aa3cfbefa533df61f12dfd841c1c424e 100644 (file)
@@ -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