From dbf59dadfaa688bb0c9a5162ad1622fbf0411665 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 2 Apr 2018 20:24:43 +0000 Subject: [PATCH] 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 --- src/net/url/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0