mirror of
https://github.com/golang/go
synced 2024-11-19 18:44:41 -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:
|
// There are redundant fields stored in the URL structure:
|
||||||
// the String method consults Scheme, Path, Host, RawUserinfo,
|
// 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 {
|
func (url *URL) String() string {
|
||||||
result := ""
|
result := ""
|
||||||
if url.Scheme != "" {
|
if url.Scheme != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user