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