Skip to content

Commit bf2d31d

Browse files
committed
Run cargo dev fmt
1 parent a467c51 commit bf2d31d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clippy_lints/src/mut_key.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ fn check_sig<'tcx>(cx: &LateContext<'tcx>, item_hir_id: hir::HirId, decl: &hir::
8989
for (hir_ty, ty) in decl.inputs.iter().zip(fn_sig.inputs().skip_binder().iter()) {
9090
check_ty(cx, hir_ty.span, ty);
9191
}
92-
check_ty(
93-
cx,
94-
decl.output.span(),
95-
cx.tcx.erase_late_bound_regions(fn_sig.output()),
96-
);
92+
check_ty(cx, decl.output.span(), cx.tcx.erase_late_bound_regions(fn_sig.output()));
9793
}
9894

9995
// We want to lint 1. sets or maps with 2. not immutable key types and 3. no unerased

0 commit comments

Comments
 (0)