From 7bd73f70092b39f4ed7288582bcaf8319253b5b3 Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Thu, 30 Mar 2023 13:08:33 +0200 Subject: [PATCH] Fix clippy warning --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e9648ce4..79b54872 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,6 +6,7 @@ #![warn(clippy::cargo_common_metadata)] #![warn(clippy::unwrap_used)] #![allow(clippy::no_effect_underscore_binding)] +#![allow(clippy::let_underscore_drop)] use crate::config::{read, DEFAULT_CONFIG}; use crate::error::exit_if_handle_fatal; @@ -57,7 +58,7 @@ pub async fn start_server() -> _ { .log_level() .expect("Log level cannot be not available"); - logging::init(log_level).expect("Logging successfully initialied"); + logging::init(log_level).expect("Logging successfully initialized"); let config = read(args.config, log_level).unwrap_or_else(exit_if_handle_fatal);