Skip to content

Commit 565ccd0

Browse files
committed
Minor wording tweak
1 parent 71a3b2a commit 565ccd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/url/url.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ func stringContainsCTLByte(s string) bool {
12291229
return false
12301230
}
12311231

1232-
// JoinPath returns a string with the provided path elements joined to
1232+
// JoinPath returns a URL string with the provided path elements joined to
12331233
// the existing path of base and the resulting path cleaned of any ./ or ../ elements.
12341234
func JoinPath(base string, elem ...string) (result string, err error) {
12351235
url, err := Parse(base)

0 commit comments

Comments
 (0)