Skip to content

Commit

Permalink
Run cargo clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbings committed Jan 20, 2025
1 parent 8685fa5 commit f536f81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/find/matchers/logical_matchers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ impl Matcher for NotMatcher {
}

#[cfg(test)]

mod tests {
use super::*;
use crate::find::matchers::quit::QuitMatcher;
Expand Down
2 changes: 1 addition & 1 deletion src/find/matchers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub struct MatcherIO<'a> {
deps: &'a dyn Dependencies,
}

impl<'a> MatcherIO<'a> {
impl MatcherIO<'_> {
pub fn new(deps: &dyn Dependencies) -> MatcherIO<'_> {
MatcherIO {
should_skip_dir: false,
Expand Down
2 changes: 1 addition & 1 deletion src/find/matchers/prune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ impl Matcher for PruneMatcher {
true
}
}
#[cfg(test)]

#[cfg(test)]
mod tests {
use super::*;
use crate::find::matchers::tests::get_dir_entry_for;
Expand Down

0 comments on commit f536f81

Please sign in to comment.