diff options
| author | Douglas Campos <qmx@qmx.me> | 2017-09-29 21:51:20 -0400 |
|---|---|---|
| committer | Douglas Campos <qmx@qmx.me> | 2017-09-29 22:34:48 -0400 |
| commit | 08e1f0b9d74ac5cdf115b9548d10da1ca01f966d (patch) | |
| tree | e63ed39c8d46efcd2dff75cef09fd735bfa01db3 | |
| parent | 29220663c14e7e52db8dc5eb796ace22f5b3591b (diff) | |
| download | rust-08e1f0b9d74ac5cdf115b9548d10da1ca01f966d.tar.gz rust-08e1f0b9d74ac5cdf115b9548d10da1ca01f966d.zip | |
fix formatting
| -rw-r--r-- | src/librustc_trans/callee.rs | 13 |
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() + ) } |
