]> Cypherpunks repositories - gostls13.git/commitdiff
io/fs: fix typo in comment
authorxinlingchao <douglarek@gmail.com>
Mon, 28 Dec 2020 06:14:41 +0000 (14:14 +0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 28 Dec 2020 17:15:36 +0000 (17:15 +0000)
Change-Id: Idf8e5d808c0996e0ca00979e7b8d7627f29cd10f
Reviewed-on: https://go-review.googlesource.com/c/go/+/280552
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>

src/io/fs/walk.go

index 06d0b1769c5515e49f6909656cfd00575d90948b..c33ff107294676d50121f0af78221adab2d991c7 100644 (file)
@@ -15,7 +15,7 @@ import (
 var SkipDir = errors.New("skip this directory")
 
 // WalkDirFunc is the type of the function called by WalkDir to visit
-// each each file or directory.
+// each file or directory.
 //
 // The path argument contains the argument to Walk as a prefix.
 // That is, if Walk is called with root argument "dir" and finds a file