about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2020-11-17 18:08:12 +0100
committerflip1995 <philipp.krones@embecosm.com>2020-11-17 18:08:12 +0100
commitbf2d31d0533ee03a2c1e91f74780ea779e8b330c (patch)
treef99bdc49796388cc2c75460787df3eef7d04cd05
parenta467c514a3dbb22e369b1f05d04001b28fe1301c (diff)
downloadrust-bf2d31d0533ee03a2c1e91f74780ea779e8b330c.tar.gz
rust-bf2d31d0533ee03a2c1e91f74780ea779e8b330c.zip
Run cargo dev fmt
-rw-r--r--clippy_lints/src/mut_key.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/clippy_lints/src/mut_key.rs b/clippy_lints/src/mut_key.rs
index 9cceecc785a..11044e0c2fb 100644
--- a/clippy_lints/src/mut_key.rs
+++ b/clippy_lints/src/mut_key.rs
@@ -89,11 +89,7 @@ fn check_sig<'tcx>(cx: &LateContext<'tcx>, item_hir_id: hir::HirId, decl: &hir::
     for (hir_ty, ty) in decl.inputs.iter().zip(fn_sig.inputs().skip_binder().iter()) {
         check_ty(cx, hir_ty.span, ty);
     }
-    check_ty(
-        cx,
-        decl.output.span(),
-        cx.tcx.erase_late_bound_regions(fn_sig.output()),
-    );
+    check_ty(cx, decl.output.span(), cx.tcx.erase_late_bound_regions(fn_sig.output()));
 }
 
 // We want to lint 1. sets or maps with 2. not immutable key types and 3. no unerased