From faa283d35b7771cec7f9ecaff13ca2960b4e49d5 Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Mon, 19 Jul 2021 13:44:53 +0200 Subject: [PATCH] review feedback --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 34489d39..f69bc48a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -272,10 +272,8 @@ fn default_config() -> rocket::Config { { use rocket::config::Sig; - let signals = &mut shutdown.signals; - - signals.insert(Sig::Term); - signals.insert(Sig::Int); + shutdown.signals.insert(Sig::Term); + shutdown.signals.insert(Sig::Int); } // Once shutdown is triggered, this is the amount of seconds before rocket