1
0
mirror of https://github.com/golang/go synced 2024-11-16 16:14:40 -07:00

os: fix a typo in path_windows.go

I believe the path_windows.go file has a typo, which is fixed in this PR

Change-Id: Ibf1a7189a6312dbb3b1e6b512beeb6d99da5b5bc
GitHub-Last-Rev: cedac7eaa0
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>
This commit is contained in:
AndreasHGK 2022-06-30 15:59:30 +00:00 committed by Gopher Robot
parent 993c387032
commit af725f4286

View 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 == '/'
}