From 352a322a8356ef5f7d9392c401cd9f181a1cf80b Mon Sep 17 00:00:00 2001 From: Vitaly Zdanevich Date: Sat, 1 May 2021 21:13:38 +0000 Subject: [PATCH] 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 Reviewed-by: Kevin Burke Trust: Kevin Burke --- src/path/filepath/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.48.1