Skip to content

Commit

Permalink
add clippy allows where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
brxken128 committed Oct 22, 2023
1 parent 582f0f1 commit 5765ab7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions zeroize/src/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use crate::{atomic_fence, volatile_write, Zeroize};

#[allow(clippy::wildcard_imports)]
use core::arch::aarch64::*;

macro_rules! impl_zeroize_for_simd_register {
Expand Down
2 changes: 2 additions & 0 deletions zeroize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@
//! [good cryptographic hygiene]: https://github.com/veorq/cryptocoding#clean-memory-of-secret-data
//! [`Ordering::SeqCst`]: core::sync::atomic::Ordering::SeqCst
#![allow(clippy::inline_always)]

#[cfg(feature = "alloc")]
extern crate alloc;

Expand Down
2 changes: 2 additions & 0 deletions zeroize/src/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
use crate::{atomic_fence, volatile_write, Zeroize};

#[cfg(target_arch = "x86")]
#[allow(clippy::wildcard_imports)]
use core::arch::x86::*;

#[cfg(target_arch = "x86_64")]
#[allow(clippy::wildcard_imports)]
use core::arch::x86_64::*;

macro_rules! impl_zeroize_for_simd_register {
Expand Down

0 comments on commit 5765ab7

Please sign in to comment.