diff --git a/doc/go1.html b/doc/go1.html index f4e8ae43b91..54916d56431 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -1604,7 +1604,7 @@ instead of a Visitor interface value.

-    type WalkFunc func(path string, info *os.FileInfo, err os.Error) os.Error
+    type WalkFunc func(path string, info os.FileInfo, err error) error
 

diff --git a/doc/go1.tmpl b/doc/go1.tmpl index 876dccf7394..b0a9df603dd 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -1503,7 +1503,7 @@ instead of a Visitor interface value.

-    type WalkFunc func(path string, info *os.FileInfo, err os.Error) os.Error
+    type WalkFunc func(path string, info os.FileInfo, err error) error