1
0
mirror of https://github.com/golang/go synced 2024-11-26 17:56:55 -07:00

path/filepath: fix documentation typo (was "each each")

Change-Id: I8dcf6c4489e16e91b8685c31569297cfeb700f9d
GitHub-Last-Rev: f6b40e0298
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>
This commit is contained in:
Vitaly Zdanevich 2021-05-01 21:13:38 +00:00 committed by Ian Lance Taylor
parent 053fe2f485
commit 352a322a83

View File

@ -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.