From 4af3dda41bcd3ede5e351afe522c0ff79020a25b Mon Sep 17 00:00:00 2001 From: Mike Rosset Date: Fri, 24 Feb 2012 22:17:21 -0800 Subject: [PATCH] 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 --- doc/go1.html | 2 +- doc/go1.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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