diff options
| -rw-r--r-- | clippy_lints/src/matches/redundant_pattern_match.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_lints/src/matches/redundant_pattern_match.rs b/clippy_lints/src/matches/redundant_pattern_match.rs index 9656049feeb..53480a257c5 100644 --- a/clippy_lints/src/matches/redundant_pattern_match.rs +++ b/clippy_lints/src/matches/redundant_pattern_match.rs @@ -312,8 +312,7 @@ pub(super) fn check_match<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, op } else { None } - - } + }, _ => None, }; |
