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:
MaineK00n 2025-05-14 21:44:19 +00:00 committed by Gopher Robot
parent c58f58b9f8
commit 89af77deef
1 changed files with 1 additions and 1 deletions

View File

@ -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