Documentation update.

I believe you say: "Step" but mean "Next" since there is no Step()
function.
This commit is contained in:
Chris Morrow 2022-01-10 01:57:22 +00:00
parent 1182040339
commit f82be3d90b
No known key found for this signature in database
GPG Key ID: AFAB3052A843B36B

View File

@ -84,7 +84,7 @@ func (w *Walker) Err() error {
}
// Stat returns info for the most recent file or directory
// visited by a call to Step.
// visited by a call to Next.
func (w *Walker) Stat() *Entry {
return w.cur.entry
}