Commit 606e12f9 authored by David Symonds's avatar David Symonds

http: fix typo in URL.String doc comment.

R=adg
CC=golang-dev
https://golang.org/cl/4485046
parent 8253edcb
...@@ -449,7 +449,7 @@ func ParseURLReference(rawurlref string) (url *URL, err os.Error) { ...@@ -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 != "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment