Skip to content

Commit

Permalink
Ignore equatable-if-let Clippy lint
Browse files Browse the repository at this point in the history
It's just a bad lint. Let matching is perfectly fine.
  • Loading branch information
Thomasdezeeuw committed Oct 9, 2021
1 parent c633e1f commit 43e77f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dev:

# Reasons to allow lints:
# `cargo-common-metadata`: for `benches` and `tools`.
# `equatable-if-let`: bad lint.
# `missing-const-for-fn`: See https://github.com/rust-lang/rust-clippy/issues/4979.
# `module-name-repetitions`: we re-export various names.
# `needless-lifetimes`: lifetime serves as documentation.
Expand Down Expand Up @@ -77,6 +78,7 @@ lint:
--deny clippy::cargo \
--allow clippy::cargo-common-metadata \
--allow clippy::enum-glob-use \
--allow clippy::equatable-if-let \
--allow clippy::missing-const-for-fn \
--allow clippy::missing-errors-doc \
--allow clippy::missing-panics-doc \
Expand Down

0 comments on commit 43e77f5

Please sign in to comment.