mirror of
https://github.com/golang/go
synced 2024-11-21 15:14:43 -07:00
http: fix typo in URL.String doc comment.
R=adg CC=golang-dev https://golang.org/cl/4485046
This commit is contained in:
parent
8253edcb4c
commit
606e12f9bf
@ -449,7 +449,7 @@ func ParseURLReference(rawurlref string) (url *URL, err os.Error) {
|
||||
//
|
||||
// There are redundant fields stored in the URL structure:
|
||||
// the String method consults Scheme, Path, Host, RawUserinfo,
|
||||
// RawQuery, and Fragment, but not Raw, RawPath or Authority.
|
||||
// RawQuery, and Fragment, but not Raw, RawPath or RawAuthority.
|
||||
func (url *URL) String() string {
|
||||
result := ""
|
||||
if url.Scheme != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user