]> git.lizzy.rs Git - rust.git/commitdiff
fix formatting
authorDouglas Campos <qmx@qmx.me>
Sat, 30 Sep 2017 01:51:20 +0000 (21:51 -0400)
committerDouglas Campos <qmx@qmx.me>
Sat, 30 Sep 2017 02:34:48 +0000 (22:34 -0400)
src/librustc_trans/callee.rs

index c5a754719a191597a73b2b7af410cec9703f091f..b89ec3d14b528ca51654e3582cbf484c31138b97 100644 (file)
@@ -180,8 +180,13 @@ pub fn resolve_and_get_fn<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>,
                                     substs: &'tcx Substs<'tcx>)
                                     -> ValueRef
 {
-    get_fn(ccx, ty::Instance::resolve(ccx.tcx(),
-           ty::ParamEnv::empty(traits::Reveal::All),
-           def_id,
-           substs).unwrap())
+    get_fn(
+        ccx,
+        ty::Instance::resolve(
+            ccx.tcx(),
+            ty::ParamEnv::empty(traits::Reveal::All),
+            def_id,
+            substs,)
+        .unwrap()
+    )
 }