1
0
mirror of https://github.com/golang/go synced 2024-11-26 12:37:57 -07:00

Minor wording tweak

This commit is contained in:
Carl Johnson 2022-03-03 14:51:37 -05:00
parent 252b742e0b
commit 4209abbf64

View File

@ -1229,7 +1229,7 @@ func stringContainsCTLByte(s string) bool {
return false
}
// JoinPath returns a string with the provided path elements joined to
// JoinPath returns a URL string with the provided path elements joined to
// the existing path of base and the resulting path cleaned of any ./ or ../ elements.
func JoinPath(base string, elem ...string) (result string, err error) {
url, err := Parse(base)