Skip to content

Commit

Permalink
Ignore explicit_auto_deref clippy lint
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
dtolnay committed Jul 2, 2022
1 parent 65d50f2 commit d8892fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gen/build/src/lib.rs
Expand Up @@ -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,
Expand Down

0 comments on commit d8892fe

Please sign in to comment.