aboutsummaryrefslogtreecommitdiff
path: root/src/path
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2021-05-01 21:13:38 +0000
committerIan Lance Taylor <iant@golang.org>2021-05-02 18:13:38 +0000
commit352a322a8356ef5f7d9392c401cd9f181a1cf80b (patch)
tree89d3cfd85756abc710af5c12328a70b83e696921 /src/path
parent053fe2f485fa1fd191f079cdc4a32f33761e38e4 (diff)
downloadgo-352a322a8356ef5f7d9392c401cd9f181a1cf80b.tar.gz
go-352a322a8356ef5f7d9392c401cd9f181a1cf80b.zip
path/filepath: fix documentation typo (was "each each")
Change-Id: I8dcf6c4489e16e91b8685c31569297cfeb700f9d GitHub-Last-Rev: f6b40e029874230789a7ae2b750a42a355ae42cf GitHub-Pull-Request: golang/go#45905 Reviewed-on: https://go-review.googlesource.com/c/go/+/316009 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Trust: Kevin Burke <kev@inburke.com>
Diffstat (limited to 'src/path')
-rw-r--r--src/path/filepath/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/filepath/path.go b/src/path/filepath/path.go
index 28b30b1ae7..b56534dead 100644
--- a/src/path/filepath/path.go
+++ b/src/path/filepath/path.go
@@ -340,7 +340,7 @@ func Rel(basepath, targpath string) (string, error) {
// as an error by any function.
var SkipDir error = fs.SkipDir
-// WalkFunc is the type of the function called by Walk to visit each each
+// WalkFunc is the type of the function called by Walk to visit each
// file or directory.
//
// The path argument contains the argument to Walk as a prefix.