From 3f5cb9ec49a8d35ad0cbfc2a4ab2c2a1065f1853 Mon Sep 17 00:00:00 2001 From: Hinton Date: Thu, 15 Aug 2024 14:51:48 +0200 Subject: [PATCH] fmt --- crates/bitwarden-core/src/auth/client_auth.rs | 3 +-- crates/bitwarden-core/src/auth/key_connector.rs | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bitwarden-core/src/auth/client_auth.rs b/crates/bitwarden-core/src/auth/client_auth.rs index 2e210bd87..1188cfd90 100644 --- a/crates/bitwarden-core/src/auth/client_auth.rs +++ b/crates/bitwarden-core/src/auth/client_auth.rs @@ -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")] @@ -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, } diff --git a/crates/bitwarden-core/src/auth/key_connector.rs b/crates/bitwarden-core/src/auth/key_connector.rs index 0ff3da35c..b4006b472 100644 --- a/crates/bitwarden-core/src/auth/key_connector.rs +++ b/crates/bitwarden-core/src/auth/key_connector.rs @@ -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]);