aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreasHGK <andreaselbergs@outlook.com>2022-06-30 15:59:30 +0000
committerGopher Robot <gobot@golang.org>2022-06-30 21:52:06 +0000
commitaf725f42864c8fb56afcf3ba76d2df7d372534e4 (patch)
treee1e198958871e5b332b3d82f94a552d6d295cbf5
parent993c387032fb569ca8fe1ff2b3c1822304c0ecca (diff)
downloadgo-af725f42864c8fb56afcf3ba76d2df7d372534e4.tar.gz
go-af725f42864c8fb56afcf3ba76d2df7d372534e4.zip
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 <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>
-rw-r--r--src/os/path_windows.go2
1 files changed, 1 insertions, 1 deletions
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 == '/'
}