From: Mike Rosset Date: Sat, 25 Feb 2012 06:17:21 +0000 (-0800) Subject: doc: update Go1 release notes to use correct WalkFunc error signature. X-Git-Tag: weekly.2012-03-04~152 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4af3dda41bcd3ede5e351afe522c0ff79020a25b;p=gostls13.git doc: update Go1 release notes to use correct WalkFunc error signature. filepath's WalkFunc handler now uses errors package, and not os.Error R=golang-dev, gri CC=golang-dev https://golang.org/cl/5696067 --- 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