mirror of https://github.com/golang/go.git
internal/filepathlite: fix comment
This commit is contained in:
parent
ac341b8e6b
commit
96ac66c036
|
|
@ -180,7 +180,7 @@ func ToSlash(path string) string {
|
|||
return replaceStringByte(path, Separator, '/')
|
||||
}
|
||||
|
||||
// FromSlash is filepath.ToSlash.
|
||||
// FromSlash is filepath.FromSlash.
|
||||
func FromSlash(path string) string {
|
||||
if Separator == '/' {
|
||||
return path
|
||||
|
|
|
|||
Loading…
Reference in New Issue