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
      --> 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
  • Loading branch information
dtolnay committed Jul 2, 2022
1 parent 11cb87a commit 5b441a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5b441a2

Please sign in to comment.