mirror of
https://github.com/golang/go
synced 2024-11-24 23:57:57 -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:
parent
5c7799f108
commit
4af3dda41b
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user