Use direct pointer to filter_dirs function
This commit is contained in:
parent
ee8c31e64d
commit
6a1f7afd2f
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ pub fn check(paths: &[&Path], bad: &mut bool) {
|
|||
println!("Checking which error codes lack tests...");
|
||||
|
||||
for path in paths {
|
||||
super::walk(path, &mut |path| super::filter_dirs(path), &mut |entry, contents| {
|
||||
super::walk(path, &mut super::filter_dirs, &mut |entry, contents| {
|
||||
let file_name = entry.file_name();
|
||||
let entry_path = entry.path();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue