1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:14:45 -07:00

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
This commit is contained in:
Mike Rosset 2012-02-24 22:17:21 -08:00 committed by Robert Griesemer
parent 5c7799f108
commit 4af3dda41b
2 changed files with 2 additions and 2 deletions

View File

@ -1604,7 +1604,7 @@ instead of a <code>Visitor</code> interface value.
</p>
<pre>
type WalkFunc func(path string, info *os.FileInfo, err os.Error) os.Error
type WalkFunc func(path string, info os.FileInfo, err error) error
</pre>
<p>

View File

@ -1503,7 +1503,7 @@ instead of a <code>Visitor</code> interface value.
</p>
<pre>
type WalkFunc func(path string, info *os.FileInfo, err os.Error) os.Error
type WalkFunc func(path string, info os.FileInfo, err error) error
</pre>
<p>