From 4998dba2258a7770eac53912899aa69cb375b53a Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 17 Sep 2024 21:40:38 +0100 Subject: [PATCH] fmt: remove an unneeded unwrap (?) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 90529e3..1b2520f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -311,7 +311,7 @@ pub async fn db_init(config: &Config) -> Result, Error> { .await?; // migrations are amazing! - sqlx::migrate!("./db/migrations").run(&pool).await.unwrap(); + sqlx::migrate!("./db/migrations").run(&pool).await?; Ok(pool) }