mirror of
https://github.com/openharmony/third_party_rust_indexmap.git
synced 2026-07-19 16:43:59 -04:00
Merge pull request #180 from cuviper/clippy-lints
Use modern tool lints for clippy
This commit is contained in:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user