Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d2bbe76

Browse files
committed
redundant_pattern_matching
1 parent afa2741 commit d2bbe76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/matches/redundant_pattern_match.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,7 @@ pub(super) fn check_match<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, op
312312
} else {
313313
None
314314
}
315-
316-
}
315+
},
317316
_ => None,
318317
};
319318

0 commit comments

Comments
 (0)