Skip to content

Commit de3fd23

Browse files
committed
Fix some warnings from outdated code
1 parent 0d5887b commit de3fd23

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/codegen/swap_bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ macro_rules! impl_swap_bytes {
1515
impl SwapBytes for $id {
1616
#[inline]
1717
fn swap_bytes(self) -> Self {
18-
unsafe { shuffle!(self, [1, 0]) }
18+
shuffle!(self, [1, 0])
1919
}
2020
}
2121
)+

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@
217217
rustc_attrs,
218218
platform_intrinsics,
219219
stdsimd,
220-
aarch64_target_feature,
221220
arm_target_feature,
222221
link_llvm_intrinsics,
223222
core_intrinsics,

0 commit comments

Comments
 (0)