]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix a typo in path_windows.go
authorAndreasHGK <andreaselbergs@outlook.com>
Thu, 30 Jun 2022 15:59:30 +0000 (15:59 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 Jun 2022 21:52:06 +0000 (21:52 +0000)
I believe the path_windows.go file has a typo, which is fixed in this PR

Change-Id: Ibf1a7189a6312dbb3b1e6b512beeb6d99da5b5bc
GitHub-Last-Rev: cedac7eaa07d26667e6800c5ac96239d5ccf6ba8
GitHub-Pull-Request: golang/go#53629
Reviewed-on: https://go-review.googlesource.com/c/go/+/415434
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/os/path_windows.go

index a96245f358c99c51791903a09fddd14a4ac8e87c..3356908a3609ec9591758a76e7afa36633bea26b 100644 (file)
@@ -11,7 +11,7 @@ const (
 
 // IsPathSeparator reports whether c is a directory separator character.
 func IsPathSeparator(c uint8) bool {
-       // NOTE: Windows accept / as path separator.
+       // NOTE: Windows accepts / as path separator.
        return c == '\\' || c == '/'
 }