You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;fnmain(){let temp = WalkDir::new(".").into_iter().filter_entry(|x| true).filter_entry(|x| true);}
Please provide a code example. Provide enough instructions and data for me to be able to reproduce the problem you're seeing. Please also state what problem you're trying to solve. Include any relevant input data. Please include actual output and expected output.
FilterEntry::filter_entry
is parameterized on the globalP
instead of a new, localP
. This means that you can't callfilter_entry
twice with two different functions.EDIT:
Minimal repro:
Playground link
Expected: compiles
Actual: doesn't
The text was updated successfully, but these errors were encountered: