]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix typo in path.Visitor
authorAndrew Gerrand <adg@golang.org>
Wed, 8 Sep 2010 23:24:27 +0000 (09:24 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 8 Sep 2010 23:24:27 +0000 (09:24 +1000)
Fixes #1088.

R=gri, iant
CC=golang-dev
https://golang.org/cl/2157043

src/pkg/path/path.go

index 6a499f04267ec0e7540a81e4185697584dd8b600..8ed6a28d580085c2422d18422a00171cf64047ee 100644 (file)
@@ -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