Skip to content

Commit

Permalink
Suppress match_wildcard_for_single_variants clippy false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 27, 2021
1 parent e9270e5 commit cadc3de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serde_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
clippy::let_underscore_drop,
clippy::map_err_ignore,
clippy::match_same_arms,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984
clippy::match_wildcard_for_single_variants,
clippy::module_name_repetitions,
clippy::must_use_candidate,
clippy::option_if_let_else,
Expand Down
2 changes: 2 additions & 0 deletions serde_derive_internals/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
clippy::items_after_statements,
clippy::let_underscore_drop,
clippy::match_same_arms,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984
clippy::match_wildcard_for_single_variants,
clippy::missing_errors_doc,
clippy::module_name_repetitions,
clippy::must_use_candidate,
Expand Down

0 comments on commit cadc3de

Please sign in to comment.