We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 436afdf commit 8af42f6Copy full SHA for 8af42f6
src/tools/tidy/src/walk.rs
@@ -41,15 +41,15 @@ pub fn filter_not_rust(path: &Path) -> bool {
41
42
pub fn walk(
43
path: &Path,
44
- skip: impl Clone + Send + Sync + 'static + Fn(&Path, bool) -> bool,
+ skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool,
45
f: &mut dyn FnMut(&DirEntry, &str),
46
) {
47
walk_many(&[path], skip, f);
48
}
49
50
pub fn walk_many(
51
paths: &[&Path],
52
53
54
55
let mut contents = Vec::new();
0 commit comments