]> Cypherpunks.ru repositories - gostls13.git/commitdiff
path/filepath: fix documentation typo (was "each each")
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>
Sat, 1 May 2021 21:13:38 +0000 (21:13 +0000)
committerIan Lance Taylor <iant@golang.org>
Sun, 2 May 2021 18:13:38 +0000 (18:13 +0000)
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>

src/path/filepath/path.go

index 28b30b1ae7c313fff8a4ea75c8e8e292f7902a2a..b56534deadecfe27ae4bf9afab06fe7182c758b1 100644 (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.