about summary refs log tree commit diff
diff options
context:
space:
mode:
authordisco07 <koneenok@outlook.fr>2023-05-05 21:49:55 +0200
committerdisco07 <koneenok@outlook.fr>2023-05-05 21:49:55 +0200
commitd2bbe760081f52b2afa237944a78b93097aad51c (patch)
tree498831766b148f34ca27f82df8268fb1743d479b
parentafa2741e6a51f94ec408b78bb7589fa0a0534a3c (diff)
downloadrust-d2bbe760081f52b2afa237944a78b93097aad51c.tar.gz
rust-d2bbe760081f52b2afa237944a78b93097aad51c.zip
redundant_pattern_matching
-rw-r--r--clippy_lints/src/matches/redundant_pattern_match.rs3
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,
         };