From: AndreasHGK Date: Thu, 30 Jun 2022 15:59:30 +0000 (+0000) Subject: os: fix a typo in path_windows.go X-Git-Tag: go1.19rc1~20 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=af725f42864c8fb56afcf3ba76d2df7d372534e4;p=gostls13.git 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: cedac7eaa07d26667e6800c5ac96239d5ccf6ba8 GitHub-Pull-Request: golang/go#53629 Reviewed-on: https://go-review.googlesource.com/c/go/+/415434 Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Run-TryBot: Ian Lance Taylor --- diff --git a/src/os/path_windows.go b/src/os/path_windows.go index a96245f358..3356908a36 100644 --- a/src/os/path_windows.go +++ b/src/os/path_windows.go @@ -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 == '/' }