Skip to content

Commit 32d8c7c

Browse files
committed
chore: clippy
1 parent 94431fa commit 32d8c7c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ async fn main() {
2020
let filter = format!(
2121
"{}={}",
2222
env!("CARGO_PKG_NAME").to_string().replace("-", "_"),
23-
command
24-
.log_level()
25-
.as_ref()
26-
.unwrap_or(&LogLevel::info)
27-
.to_string(),
23+
command.log_level().as_ref().unwrap_or(&LogLevel::info)
2824
);
2925

3026
let tracing_filter = EnvFilter::try_new(filter).unwrap_or_else(|_| EnvFilter::new("info"));

0 commit comments

Comments
 (0)