Skip to content

Commit

Permalink
Remove unnecessary clippy ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Mar 17, 2024
1 parent bc27561 commit dfc85b6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/compute/flexbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,6 @@ fn sum_axis_gaps(gap: f32, num_items: usize) -> f32 {
}

#[cfg(test)]
#[allow(clippy::redundant_clone)]
mod tests {

use crate::{
Expand Down
2 changes: 0 additions & 2 deletions src/compute/grid/placement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ fn record_grid_placement(

#[cfg(test)]
// It's more readable if the test code is uniform, so we tolerate unnecessary clones in tests
#[allow(clippy::redundant_clone)]
#[allow(clippy::bool_assert_comparison)]
mod tests {

mod test_placement_algorithm {
Expand Down
1 change: 0 additions & 1 deletion src/tree/taffy_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,6 @@ impl<NodeContext> TaffyTree<NodeContext> {
}

#[cfg(test)]
#[allow(clippy::bool_assert_comparison)]
mod tests {

use super::*;
Expand Down

0 comments on commit dfc85b6

Please sign in to comment.