Skip to content

Commit 6861006

Browse files
committed
change from unused_imports to dead_code
1 parent ae10e35 commit 6861006

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/bitwarden-core/src/auth/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use crate::{NotAuthenticatedError, VaultLockedError, WrongPasswordError};
99
mod access_token;
1010
// API is intentionally not visible outside of `auth` as these should be considered private.
1111
mod api;
12-
#[allow(unused_imports)]
1312
pub(crate) use api::response::user_decryption_options_response;
1413
#[allow(missing_docs)]
1514
pub mod auth_client;

crates/bitwarden-core/src/key_management/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mod crypto_client;
1919
#[cfg(feature = "internal")]
2020
pub use crypto_client::CryptoClient;
2121

22-
#[cfg(feature = "internal")]
22+
#[cfg_attr(feature = "internal", allow(dead_code))]
2323
mod master_password;
2424
#[cfg(feature = "internal")]
2525
mod non_generic_wrappers;
@@ -28,7 +28,7 @@ mod non_generic_wrappers;
2828
pub(crate) use non_generic_wrappers::*;
2929
#[cfg(feature = "internal")]
3030
mod security_state;
31-
#[cfg(feature = "internal")]
31+
#[cfg_attr(feature = "internal", allow(dead_code))]
3232
mod user_decryption;
3333
#[cfg(feature = "internal")]
3434
pub use security_state::{SecurityState, SignedSecurityState};

0 commit comments

Comments
 (0)