From 08e1f0b9d74ac5cdf115b9548d10da1ca01f966d Mon Sep 17 00:00:00 2001 From: Douglas Campos Date: Fri, 29 Sep 2017 21:51:20 -0400 Subject: [PATCH] fix formatting --- src/librustc_trans/callee.rs | 13 +++++++++---- 1 file 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() + ) }