mirror of https://github.com/golang/go.git
internal/filepathlite: fix comment
fix typo
Change-Id: I46f0b052615d388a852439e63542b43e2ca62b7e
GitHub-Last-Rev: 96ac66c036
GitHub-Pull-Request: golang/go#73725
Reviewed-on: https://go-review.googlesource.com/c/go/+/672955
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
c58f58b9f8
commit
89af77deef
|
|
@ -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