Skip to content

Commit 73fd75f

Browse files
committed
Run RustFmt
1 parent 57e9bc4 commit 73fd75f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/librustc_mir/interpret/eval_context.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,11 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> LayoutOf for InterpCx<'mir, 'tcx, M> {
206206

207207
#[inline]
208208
fn layout_of(&self, ty: Ty<'tcx>) -> Self::TyLayout {
209-
self.tcx
210-
.layout_of(self.param_env.and(ty))
211-
.map_err(|layout| {
212-
let result = err_inval!(Layout(layout)).into();
213-
trace!("layout_of: returning error: {:?}", result);
214-
result
215-
})
209+
self.tcx.layout_of(self.param_env.and(ty)).map_err(|layout| {
210+
let result = err_inval!(Layout(layout)).into();
211+
trace!("layout_of: returning error: {:?}", result);
212+
result
213+
})
216214
}
217215
}
218216

0 commit comments

Comments
 (0)