From bd9e04649669cf9d2736fc531727bfe733953cea Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 28 Mar 2020 19:51:54 +0100 Subject: [PATCH] refmt --- src/librustc_mir/interpret/operand.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs index 8b39f5071ae..1ffe6a87302 100644 --- a/src/librustc_mir/interpret/operand.rs +++ b/src/librustc_mir/interpret/operand.rs @@ -54,10 +54,7 @@ impl From> for Immediate { impl<'tcx, Tag> Immediate { pub fn new_slice(val: Scalar, len: u64, cx: &impl HasDataLayout) -> Self { - Immediate::ScalarPair( - val.into(), - Scalar::from_machine_usize(len, cx).into(), - ) + Immediate::ScalarPair(val.into(), Scalar::from_machine_usize(len, cx).into()) } pub fn new_dyn_trait(val: Scalar, vtable: Pointer) -> Self {