]> Cypherpunks repositories - gostls13.git/commitdiff
internal/filepathlite: fix comment
authorMaineK00n <mainek00n.1229@gmail.com>
Wed, 14 May 2025 21:44:19 +0000 (21:44 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 20 May 2025 18:15:21 +0000 (11:15 -0700)
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>

src/internal/filepathlite/path.go

index e3daa447d97632354b993154297bc7b10557b455..4a3729832fa8c8b7e46f0d8f23ee27ae35cf5009 100644 (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