Skip to content

Commit 6a1f7af

Browse files
committed
Use direct pointer to filter_dirs function
1 parent ee8c31e commit 6a1f7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/error_codes_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub fn check(paths: &[&Path], bad: &mut bool) {
217217
println!("Checking which error codes lack tests...");
218218

219219
for path in paths {
220-
super::walk(path, &mut |path| super::filter_dirs(path), &mut |entry, contents| {
220+
super::walk(path, &mut super::filter_dirs, &mut |entry, contents| {
221221
let file_name = entry.file_name();
222222
let entry_path = entry.path();
223223

0 commit comments

Comments
 (0)