Skip to content

Commit

Permalink
fix(clippy): ignored_unit_patterns
Browse files Browse the repository at this point in the history
Closes #35
  • Loading branch information
alexpovel committed Oct 22, 2023
1 parent ec500d6 commit 4bc2827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/actions/german/words.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ mod tests {
}
}
#[cfg(test)]
#[allow(clippy::ignored_unit_patterns)] // in `proptest` macro, cannot be avoided
mod properties {
use super::*;
use proptest::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion src/actions/symbols/inversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl Action for SymbolsInversion {
Symbol::GreaterThanOrEqual => ">=",
}
.into(),
Err(_) => c.to_string(),
Err(()) => c.to_string(),
})
.collect()
}
Expand Down

0 comments on commit 4bc2827

Please sign in to comment.