-
-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
FilterEntry::filter_entry is parameterized on the global P instead of a new, local P. This means that you can't call filter_entry twice with two different functions.
EDIT:
Minimal repro:
use walkdir::WalkDir;
fn main() {
let temp = WalkDir::new(".")
.into_iter()
.filter_entry(|x| true)
.filter_entry(|x| true);
}Expected: compiles
Actual: doesn't
gamgi
Metadata
Metadata
Assignees
Labels
No labels