Fix clippy issue
This commit is contained in:
parent
4bdb7b8760
commit
75ab3f50cd
|
|
@ -29,8 +29,7 @@ impl RepoCheckoutFilter {
|
|||
/// convenience.
|
||||
pub fn new<F>(closure: F) -> Option<RepoCheckoutFilter>
|
||||
where
|
||||
F: Fn(&Repo, &Path, &libc::stat) -> RepoCheckoutFilterResult,
|
||||
F: 'static,
|
||||
F: (Fn(&Repo, &Path, &libc::stat) -> RepoCheckoutFilterResult) + 'static,
|
||||
{
|
||||
Some(RepoCheckoutFilter(Box::new(closure)))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue