Skip to content

Commit f2d4c93

Browse files
committed
fmt
1 parent 7b90ff9 commit f2d4c93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustc_mir/const_eval/eval_queries.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ pub(super) fn op_to_const<'tcx>(
158158
(ecx.tcx.alloc_map.lock().unwrap_memory(ptr.alloc_id), ptr.offset.bytes())
159159
}
160160
Scalar::Raw { .. } => (
161-
ecx.tcx.intern_const_alloc(Allocation::from_byte_aligned_bytes(b"" as &[u8])),
161+
ecx.tcx
162+
.intern_const_alloc(Allocation::from_byte_aligned_bytes(b"" as &[u8])),
162163
0,
163164
),
164165
};
@@ -167,7 +168,7 @@ pub(super) fn op_to_const<'tcx>(
167168
let len: usize = len.try_into().unwrap();
168169
ConstValue::Slice { data, start, end: start + len }
169170
}
170-
}
171+
},
171172
}
172173
}
173174

0 commit comments

Comments
 (0)