style: cargo fmt --all

This commit is contained in:
2026-05-31 05:31:42 +02:00
parent 4b31a0f74b
commit c2ebca0da0
138 changed files with 2422 additions and 1164 deletions

View File

@@ -1,9 +1,8 @@
use application::identity::{GetProfileHandler, LoginUserHandler, RegisterUserHandler};
use std::sync::Arc;
use application::identity::{RegisterUserHandler, LoginUserHandler, GetProfileHandler};
use domain::ports::{StoragePort, TokenIssuer};
#[derive(Clone)]
pub struct AppState {
pub register_handler: Arc<RegisterUserHandler>,
@@ -21,6 +20,12 @@ impl AppState {
token_issuer: Arc<dyn TokenIssuer>,
storage: Arc<dyn StoragePort>,
) -> Self {
Self { register_handler, login_handler, get_profile_handler, token_issuer, storage }
Self {
register_handler,
login_handler,
get_profile_handler,
token_issuer,
storage,
}
}
}