Skip to content

Commit 957a981

Browse files
committed
Fix formatting, remove unused import
1 parent e6abc8d commit 957a981

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/arch/aarch64.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use crate::traits::ArchOps;
88
use std::arch::aarch64::*;
9-
use std::arch::is_aarch64_feature_detected;
109

1110
#[derive(Debug, Copy, Clone)]
1211
pub struct AArch64Ops;
@@ -268,7 +267,7 @@ impl ArchOps for AArch64Ops {
268267
) -> Self::Vector {
269268
veor3q_u8(a, b, c)
270269
}
271-
270+
272271
#[inline]
273272
#[cfg(not(target_feature = "sha3"))]
274273
#[target_feature(enable = "neon")]

src/arch/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl ArchOps for X86Ops {
226226
unsafe fn carryless_mul_11(&self, a: Self::Vector, b: Self::Vector) -> Self::Vector {
227227
_mm_clmulepi64_si128(a, b, 0x11)
228228
}
229-
229+
230230
#[inline]
231231
#[cfg(any(feature = "vpclmulqdq", feature = "avx512"))]
232232
#[target_feature(enable = "avx512f,avx512vl")]

0 commit comments

Comments
 (0)