summaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-09-09 09:24:27 +1000
committerAndrew Gerrand <adg@golang.org>2010-09-09 09:24:27 +1000
commit665806bb11fb904c28c9c914f381eb94734857a1 (patch)
tree62a7a2ea4854c883f4c569ddfc5919d1dd1ce6de /src/pkg/path
parent2baca1890546832be557c8c2ff1b2bafaa5c2c0a (diff)
downloadgo-665806bb11fb904c28c9c914f381eb94734857a1.tar.gz
path: fix typo in path.Visitor
Fixes issue 1088. R=gri, iant CC=golang-dev http://codereview.appspot.com/2157043
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/path.go b/src/pkg/path/path.go
index 6a499f042..8ed6a28d5 100644
--- a/src/pkg/path/path.go
+++ b/src/pkg/path/path.go
@@ -140,7 +140,7 @@ func Ext(path string) string {
}
// Visitor methods are invoked for corresponding file tree entries
-// visited by Walk. The parameter path is the full path of d relative
+// visited by Walk. The parameter path is the full path of f relative
// to root.
type Visitor interface {
VisitDir(path string, f *os.FileInfo) bool