1
0
mirror of https://github.com/golang/go synced 2024-11-23 19:40:08 -07:00

os/path_windows.go: fix typo

This commit is contained in:
AndreasHGK 2022-06-30 17:50:04 +02:00
parent 31b8c23c57
commit cedac7eaa0

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