Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
headshog committed Jan 15, 2025
1 parent 630f8df commit 451b59b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions casr/src/bin/casr-libfuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ fn main() -> Result<()> {
// Determine crash directory format for libfuzzer or LibAFL.
let crash_filter = if crash_files
.iter()
.find(|(fname, _)| fname.starts_with("crash-") || fname.starts_with("leak-"))
.is_some()
.any(|(fname, _)| fname.starts_with("crash-") || fname.starts_with("leak-"))
{
|arg: &(&std::string::String, &PathBuf)| {
arg.0.starts_with("crash-") || arg.0.starts_with("leak-")
Expand Down

0 comments on commit 451b59b

Please sign in to comment.