1
0
mirror of https://github.com/golang/go synced 2024-10-01 10:38:33 -06:00

net/url: fix docs for URL.String

Fixes #10227.

Change-Id: I64d5522e76da5a717e3c4169405e5ef35d6c262e
Signed-off-by: Shenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/7974
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Shenghou Ma 2015-03-24 00:04:42 -04:00 committed by Minux Ma
parent cf68fac7e7
commit 1c26176b67

View File

@ -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;