Skip to content

Commit

Permalink
Use two cfg blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed May 31, 2024
1 parent 82456b1 commit 2483b5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/bitwarden/src/auth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ fn determine_password_hash(

#[cfg(test)]
mod tests {
#[cfg(feature = "internal")]
use std::num::NonZeroU32;

#[cfg(feature = "internal")]
use super::*;

#[cfg(feature = "internal")]
Expand Down
3 changes: 2 additions & 1 deletion crates/bitwarden/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ mod flags;
pub use client::Client;
pub use client_settings::{ClientSettings, DeviceType};

#[cfg(all(feature = "internal", test))]
#[cfg(feature = "internal")]
#[cfg(test)]
pub(crate) mod test_accounts;

0 comments on commit 2483b5d

Please sign in to comment.