From d2bbe760081f52b2afa237944a78b93097aad51c Mon Sep 17 00:00:00 2001 From: disco07 Date: Fri, 5 May 2023 21:49:55 +0200 Subject: [PATCH] redundant_pattern_matching --- clippy_lints/src/matches/redundant_pattern_match.rs | 3 +-- 1 file changed, 1 insertion(+), 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, };