diff --git a/doc/go1.html b/doc/go1.html
index f4e8ae43b9..54916d5643 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 876dccf739..b0a9df603d 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