From ba24a47f956d72a518e6b1dfa65a2a6defcc7d28 Mon Sep 17 00:00:00 2001 From: eupn Date: Tue, 9 Jan 2024 12:01:47 +0400 Subject: [PATCH] rustfmt --- crates/core_arch/src/arm_shared/crc.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/core_arch/src/arm_shared/crc.rs b/crates/core_arch/src/arm_shared/crc.rs index e7f0339c8a..ffaa55f657 100644 --- a/crates/core_arch/src/arm_shared/crc.rs +++ b/crates/core_arch/src/arm_shared/crc.rs @@ -122,7 +122,10 @@ pub unsafe fn __crc32d(crc: u32, data: u64) -> u32 { pub unsafe fn __crc32d(crc: u32, data: u64) -> u32 { // On 32-bit ARM this intrinsic emits a chain of two `crc32_w` instructions // and truncates the data to 32 bits in both clang and gcc - crc32w_(crc32w_(crc, (data & 0xffffffff) as u32), (data >> 32) as u32) + crc32w_( + crc32w_(crc, (data & 0xffffffff) as u32), + (data >> 32) as u32, + ) } /// CRC32 single round checksum for quad words (64 bits). @@ -148,7 +151,10 @@ pub unsafe fn __crc32cd(crc: u32, data: u64) -> u32 { pub unsafe fn __crc32cd(crc: u32, data: u64) -> u32 { // On 32-bit ARM this intrinsic emits a chain of two `crc32_cw` instructions // and truncates the data to 32 bits in both clang and gcc - crc32cw_(crc32cw_(crc, (data & 0xffffffff) as u32), (data >> 32) as u32) + crc32cw_( + crc32cw_(crc, (data & 0xffffffff) as u32), + (data >> 32) as u32, + ) } #[cfg(test)]