From c2b72773d564942d17ddc1eb1e38c8e0d547ac4b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 26 Apr 2021 18:01:41 +0200 Subject: [PATCH] Fix clippy warning --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index af1ddac3..1c058b09 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