BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.21k stars 106 forks source link

Incorrect doc for `IntoIter::skip_current_dir(&mut self)`? #138

Open andrewhickman opened 3 years ago

andrewhickman commented 3 years ago

The docs say

This causes the iterator to stop traversing the contents of the least recently yielded directory.

Looking at the example I think this should be

This causes the iterator to stop traversing the contents of the most recently yielded directory

Am I misunderstanding? If not I'm happy to create a PR