Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Aug 15, 2024
1 parent 8b0cc6d commit 3f5cb9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions crates/bitwarden-core/src/auth/client_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use bitwarden_crypto::CryptoError;
#[cfg(feature = "internal")]
use bitwarden_crypto::{AsymmetricEncString, DeviceKey, EncString, Kdf, TrustDeviceResponse};

use super::key_connector::{make_key_connector_keys, KeyConnectorResponse};
#[cfg(feature = "internal")]
use crate::auth::login::NewAuthRequestResponse;
#[cfg(feature = "secrets")]
Expand All @@ -24,8 +25,6 @@ use crate::auth::{
};
use crate::{auth::renew::renew_token, error::Result, Client};

use super::key_connector::{make_key_connector_keys, KeyConnectorResponse};

pub struct ClientAuth<'a> {
pub(crate) client: &'a crate::Client,
}
Expand Down
3 changes: 2 additions & 1 deletion crates/bitwarden-core/src/auth/key_connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ pub(super) fn make_key_connector_keys(

#[cfg(test)]
mod tests {
use super::*;
use rand::SeedableRng;
use rand_chacha::ChaCha8Rng;

use super::*;

#[test]
fn test_make_key_connector_keys() {
let mut rng = ChaCha8Rng::from_seed([0u8; 32]);
Expand Down

0 comments on commit 3f5cb9e

Please sign in to comment.