diff --git a/src/main.rs b/src/main.rs index af1ddac..1c058b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,7 @@ use tracing::span; use tracing_subscriber::{prelude::*, Registry}; fn setup_rocket(config: Figment, data: Database) -> rocket::Rocket { - let rocket = rocket::custom(config) + rocket::custom(config) .manage(data) .mount( "/", @@ -167,9 +167,7 @@ fn setup_rocket(config: Figment, data: Database) -> rocket::Rocket