Skip to content

Commit bd9e046

Browse files
committed
refmt
1 parent 1f53fdc commit bd9e046

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/librustc_mir/interpret/operand.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ impl<Tag> From<Pointer<Tag>> for Immediate<Tag> {
5454

5555
impl<'tcx, Tag> Immediate<Tag> {
5656
pub fn new_slice(val: Scalar<Tag>, len: u64, cx: &impl HasDataLayout) -> Self {
57-
Immediate::ScalarPair(
58-
val.into(),
59-
Scalar::from_machine_usize(len, cx).into(),
60-
)
57+
Immediate::ScalarPair(val.into(), Scalar::from_machine_usize(len, cx).into())
6158
}
6259

6360
pub fn new_dyn_trait(val: Scalar<Tag>, vtable: Pointer<Tag>) -> Self {

0 commit comments

Comments
 (0)