Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lstrojny committed Mar 30, 2023
1 parent 9a9ef95 commit 7bd73f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 7bd73f7

Please sign in to comment.