Skip to content

Commit

Permalink
Merge pull request #180 from cuviper/clippy-lints
Browse files Browse the repository at this point in the history
Use modern tool lints for clippy
  • Loading branch information
cuviper committed Mar 15, 2021
2 parents b131a54 + 789305d commit 11e57ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1612,8 +1612,7 @@ mod tests {
let set_c: IndexSet<_> = (0..6).collect();
let set_d: IndexSet<_> = (3..9).rev().collect();

// FIXME: #[allow(clippy::eq_op)] in Rust 1.31
#[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))]
#[allow(clippy::eq_op)]
{
assert_eq!(&set_a & &set_a, set_a);
assert_eq!(&set_a | &set_a, set_a);
Expand Down

0 comments on commit 11e57ac

Please sign in to comment.