From: Shenghou Ma Date: Tue, 24 Mar 2015 04:04:42 +0000 (-0400) Subject: net/url: fix docs for URL.String X-Git-Tag: go1.5beta1~1441 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1c26176b67786151db0e4162ce6f8ad2f5c9ffd1;p=gostls13.git net/url: fix docs for URL.String Fixes #10227. Change-Id: I64d5522e76da5a717e3c4169405e5ef35d6c262e Signed-off-by: Shenghou Ma Reviewed-on: https://go-review.googlesource.com/7974 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/url/url.go b/src/net/url/url.go index 737c95bab9..0ad68ccc2b 100644 --- a/src/net/url/url.go +++ b/src/net/url/url.go @@ -443,7 +443,7 @@ func parseAuthority(authority string) (user *Userinfo, host string, err error) { // String reassembles the URL into a valid URL string. // The general form of the result is one of: // -// scheme:opaque +// scheme:opaque?query#fragment // scheme://userinfo@host/path?query#fragment // // If u.Opaque is non-empty, String uses the first form;