From bbeb44c12f2194394b94708af13fd4c9d6c09890 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:10:31 -0500 Subject: [PATCH] add type for clarity --- server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index 147a72f..d84669c 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -15,7 +15,7 @@ async fn main() { let addr = leptos_options.site_addr; let routes = generate_route_list(App); - let pool = start_pool().await.expect("pool error"); + let pool: sqlx::SqlitePool = start_pool().await.expect("pool error"); let app = Router::new() .leptos_routes_with_context(