BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.24k stars 107 forks source link

Correct errors in WalkDir type docs #32

Closed KodrAus closed 7 years ago

KodrAus commented 7 years ago

The docs on WalkDir have a few inaccuracies about the behaviour that should be corrected:

alisha17 commented 7 years ago

I can fix this. Where this has to be fixed in the docs?

KodrAus commented 7 years ago

Thanks @alisha17!

See this paragraph in the docs for WalkDir.

They state that directories are always emitted before the contents, and that using sort_by means the items will be emitted according to that ordering.

Let me know if you need any more details.

BurntSushi commented 7 years ago

Fixed by #74