about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDouglas Campos <qmx@qmx.me>2017-09-29 21:51:20 -0400
committerDouglas Campos <qmx@qmx.me>2017-09-29 22:34:48 -0400
commit08e1f0b9d74ac5cdf115b9548d10da1ca01f966d (patch)
treee63ed39c8d46efcd2dff75cef09fd735bfa01db3
parent29220663c14e7e52db8dc5eb796ace22f5b3591b (diff)
downloadrust-08e1f0b9d74ac5cdf115b9548d10da1ca01f966d.tar.gz
rust-08e1f0b9d74ac5cdf115b9548d10da1ca01f966d.zip
fix formatting
-rw-r--r--src/librustc_trans/callee.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/librustc_trans/callee.rs b/src/librustc_trans/callee.rs
index c5a754719a1..b89ec3d14b5 100644
--- a/src/librustc_trans/callee.rs
+++ b/src/librustc_trans/callee.rs
@@ -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()
+    )
 }