Skip to content

Commit 5039f8b

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parent 89b9b67 commit 5039f8b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/tools/miri/src/machine.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,8 @@ pub struct PrimitiveLayouts<'tcx> {
372372
impl<'mir, 'tcx: 'mir> PrimitiveLayouts<'tcx> {
373373
fn new(layout_cx: LayoutCx<'tcx, TyCtxt<'tcx>>) -> Result<Self, &'tcx LayoutError<'tcx>> {
374374
let tcx = layout_cx.tcx;
375-
let mut_raw_ptr =
376-
Ty::new_mut_ptr(tcx, tcx.types.unit);
377-
let const_raw_ptr =
378-
Ty::new_imm_ptr(tcx, tcx.types.unit);
375+
let mut_raw_ptr = Ty::new_mut_ptr(tcx, tcx.types.unit);
376+
let const_raw_ptr = Ty::new_imm_ptr(tcx, tcx.types.unit);
379377
Ok(Self {
380378
unit: layout_cx.layout_of(Ty::new_unit(tcx))?,
381379
i8: layout_cx.layout_of(tcx.types.i8)?,

0 commit comments

Comments
 (0)