diff --git a/src/app.rs b/src/app.rs index 76c09da..56a0a58 100644 --- a/src/app.rs +++ b/src/app.rs @@ -13,7 +13,7 @@ pub struct Application { server: Server, } -impl<'a> Application { +impl Application { pub async fn build(config: &Config, addr: String) -> Result { let pool = PgPoolOptions::new().connect(&config.db_config.url).await?; sqlx::migrate!().run(&pool).await?;