From b6bb6b30e92da5544e8e31f35a6f79e6050a3af6 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 11 Nov 2023 21:59:49 +0100 Subject: [PATCH] formatting fix --- server/calendar/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/calendar/src/main.rs b/server/calendar/src/main.rs index f41c2afff..f26aa1bae 100644 --- a/server/calendar/src/main.rs +++ b/server/calendar/src/main.rs @@ -28,7 +28,7 @@ async fn health_status_handler() -> HttpResponse { pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations"); -fn apply_db_migrations() -> Result<(),Box> { +fn apply_db_migrations() -> Result<(), Box> { info!("Applying database migrations"); let con = &mut utils::establish_connection(); con.run_pending_migrations(MIGRATIONS)?; @@ -37,7 +37,7 @@ fn apply_db_migrations() -> Result<(),Box> { } #[tokio::main] -async fn main() -> Result<(),Box> { +async fn main() -> Result<(), Box> { Builder::with_level("info") .with_target_writer("*", new_writer(tokio::io::stdout())) .init();