Remove useless Clone bounds
This commit is contained in:
parent
436afdf1fe
commit
8af42f695d
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ pub fn filter_not_rust(path: &Path) -> bool {
|
|||
|
||||
pub fn walk(
|
||||
path: &Path,
|
||||
skip: impl Clone + Send + Sync + 'static + Fn(&Path, bool) -> bool,
|
||||
skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool,
|
||||
f: &mut dyn FnMut(&DirEntry, &str),
|
||||
) {
|
||||
walk_many(&[path], skip, f);
|
||||
|
@ -49,7 +49,7 @@ pub fn walk(
|
|||
|
||||
pub fn walk_many(
|
||||
paths: &[&Path],
|
||||
skip: impl Clone + Send + Sync + 'static + Fn(&Path, bool) -> bool,
|
||||
skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool,
|
||||
f: &mut dyn FnMut(&DirEntry, &str),
|
||||
) {
|
||||
let mut contents = Vec::new();
|
||||
|
|
Loading…
Add table
Reference in a new issue