From 5b441a2881da9fd7d08186328849856dda001ad4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 1 Jul 2022 19:37:03 -0700 Subject: [PATCH] Ignore explicit_auto_deref clippy lint error: deref which would be done by auto-deref --> src/value/partial_eq.rs:32:22 | 32 | eq_str(self, *other) | ^^^^^^ help: try this: `other` | = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref error: deref which would be done by auto-deref --> src/value/partial_eq.rs:44:23 | 44 | eq_str(other, *self) | ^^^^^ help: try this: `self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 736ab8472..7fc351213 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -308,6 +308,7 @@ clippy::deprecated_cfg_attr, clippy::doc_markdown, clippy::excessive_precision, + clippy::explicit_auto_deref, clippy::float_cmp, clippy::manual_range_contains, clippy::match_like_matches_macro,