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/error.rs:961:9
        |
    961 |         &**self
        |         ^^^^^^^ help: try this: `self`
        |
        = 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/error.rs:968:9
        |
    968 |         &**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 9054599 commit 38c883b
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 @@ -218,6 +218,7 @@
#![allow(
clippy::doc_markdown,
clippy::enum_glob_use,
clippy::explicit_auto_deref,
clippy::missing_errors_doc,
clippy::missing_panics_doc,
clippy::module_name_repetitions,
Expand Down

0 comments on commit 38c883b

Please sign in to comment.