Merge pull request #180 from cuviper/clippy-lints

Use modern tool lints for clippy
This commit is contained in:
Josh Stone
2021-03-15 11:35:56 -07:00
committed by GitHub
+1 -2
View File
@@ -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);