aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorMaineK00n <mainek00n.1229@gmail.com>2025-05-14 21:44:19 +0000
committerGopher Robot <gobot@golang.org>2025-05-20 11:15:21 -0700
commit89af77deef7e554dff5ca21ff2c2aaf0a2d253ac (patch)
tree50d9d91efcdc351e045e4a6d1b4aa683a4e1283e /src/internal
parentc58f58b9f8df0bde53bb5bc20b5ea97d34b1531d (diff)
downloadgo-89af77deef7e554dff5ca21ff2c2aaf0a2d253ac.tar.xz
internal/filepathlite: fix comment
fix typo Change-Id: I46f0b052615d388a852439e63542b43e2ca62b7e GitHub-Last-Rev: 96ac66c0362c5c544249cf465c528a924112fa76 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>
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/filepathlite/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/filepathlite/path.go b/src/internal/filepathlite/path.go
index e3daa447d9..4a3729832f 100644
--- a/src/internal/filepathlite/path.go
+++ b/src/internal/filepathlite/path.go
@@ -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