1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:57:56 -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: // 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 != "" {