Skip to content

Commit

Permalink
Fix some warnings from outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed May 24, 2022
1 parent 0d5887b commit de3fd23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/codegen/swap_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ macro_rules! impl_swap_bytes {
impl SwapBytes for $id {
#[inline]
fn swap_bytes(self) -> Self {
unsafe { shuffle!(self, [1, 0]) }
shuffle!(self, [1, 0])
}
}
)+
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@
rustc_attrs,
platform_intrinsics,
stdsimd,
aarch64_target_feature,
arm_target_feature,
link_llvm_intrinsics,
core_intrinsics,
Expand Down

0 comments on commit de3fd23

Please sign in to comment.