1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -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:
David Symonds 2011-05-06 10:00:50 -07:00
parent 8253edcb4c
commit 606e12f9bf

View File

@ -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 != "" {