diff options
| author | disco07 <koneenok@outlook.fr> | 2023-05-05 21:49:55 +0200 |
|---|---|---|
| committer | disco07 <koneenok@outlook.fr> | 2023-05-05 21:49:55 +0200 |
| commit | d2bbe760081f52b2afa237944a78b93097aad51c (patch) | |
| tree | 498831766b148f34ca27f82df8268fb1743d479b | |
| parent | afa2741e6a51f94ec408b78bb7589fa0a0534a3c (diff) | |
| download | rust-d2bbe760081f52b2afa237944a78b93097aad51c.tar.gz rust-d2bbe760081f52b2afa237944a78b93097aad51c.zip | |
redundant_pattern_matching
| -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, }; |
