aboutsummaryrefslogtreecommitdiff
path: root/src/io
diff options
context:
space:
mode:
authorxinlingchao <douglarek@gmail.com>2020-12-28 14:14:41 +0800
committerIan Lance Taylor <iant@golang.org>2020-12-28 17:15:36 +0000
commit4fd94558820100129b98f284e21b19fc27a99926 (patch)
tree183b6db66eeb87190acf1f9cf4941b47dbfccc07 /src/io
parent1d78139128d6d839d7da0aeb10b3e51b6c7c0749 (diff)
downloadgo-4fd94558820100129b98f284e21b19fc27a99926.tar.gz
go-4fd94558820100129b98f284e21b19fc27a99926.zip
io/fs: fix typo in comment
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>
Diffstat (limited to 'src/io')
-rw-r--r--src/io/fs/walk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/fs/walk.go b/src/io/fs/walk.go
index 06d0b1769c..c33ff10729 100644
--- a/src/io/fs/walk.go
+++ b/src/io/fs/walk.go
@@ -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