Skip to content

Commit c0fd452

Browse files
committed
fmt fix
1 parent aa4bee2 commit c0fd452

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

clippy_lints/src/pattern_type_mismatch.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,7 @@ enum DerefPossible {
146146
Impossible,
147147
}
148148

149-
fn apply_lint<'tcx>(
150-
cx: &LateContext<'tcx>,
151-
pat: &Pat<'_>,
152-
expr_ty: Ty<'tcx>,
153-
deref_possible: DerefPossible,
154-
) -> bool {
149+
fn apply_lint<'tcx>(cx: &LateContext<'tcx>, pat: &Pat<'_>, expr_ty: Ty<'tcx>, deref_possible: DerefPossible) -> bool {
155150
let maybe_mismatch = find_first_mismatch(cx, pat, expr_ty, Level::Top);
156151
if let Some((span, mutability, level)) = maybe_mismatch {
157152
span_lint_and_help(

0 commit comments

Comments
 (0)