From 1c3c9924254b64ee0951af3e59d521041828b51a Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 29 May 2026 22:49:04 -0400 Subject: [PATCH] cargo fmt --- src/user/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/user/mod.rs b/src/user/mod.rs index ba0d30a..9f883d6 100644 --- a/src/user/mod.rs +++ b/src/user/mod.rs @@ -36,7 +36,6 @@ pub struct Organization { pub created: Option, } - #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct UserLoginHistory { pub id: uuid::Uuid, @@ -53,7 +52,6 @@ pub struct ServiceUserLoginHistory { pub service_user_id: uuid::Uuid, } - #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct UserProfile { pub user_id: uuid::Uuid, @@ -79,7 +77,6 @@ pub fn init_user_profile(usr: &User) -> UserProfile { } } - #[cfg(test)] mod tests { #[test] @@ -97,6 +94,9 @@ mod tests { }; let profile = super::init_user_profile(&usr); - assert_eq!(usr.phone_number, profile.phone_number, "Phone numbers are not equal"); + assert_eq!( + usr.phone_number, profile.phone_number, + "Phone numbers are not equal" + ); } }