mirror of
https://github.com/golang/go
synced 2024-11-23 20:00:04 -07:00
os/path_windows.go: fix typo
This commit is contained in:
parent
31b8c23c57
commit
cedac7eaa0
@ -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 == '/'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user