From d8892fecd32e480b5cc0c91921797b0b18c1555c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 1 Jul 2022 20:01:03 -0700 Subject: [PATCH] Ignore explicit_auto_deref clippy lint error: deref which would be done by auto-deref --> gen/build/src/intern.rs:23:27 | 23 | Some(interned) => *interned, | ^^^^^^^^^ help: try this: `interned` | = 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 --- gen/build/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gen/build/src/lib.rs b/gen/build/src/lib.rs index 18cfcd91d..7272a396c 100644 --- a/gen/build/src/lib.rs +++ b/gen/build/src/lib.rs @@ -52,6 +52,7 @@ clippy::doc_markdown, clippy::drop_copy, clippy::enum_glob_use, + clippy::explicit_auto_deref, clippy::if_same_then_else, clippy::inherent_to_string, clippy::items_after_statements,