diff --git a/src/commands/mod.rs b/src/commands/mod.rs index e2e4890d..e7086024 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -52,7 +52,6 @@ pub fn run( question_policy: QuestionPolicy, file_visibility_policy: FileVisibilityPolicy, ) -> crate::Result<()> { - if let Some(threads) = args.threads { rayon::ThreadPoolBuilder::new() .num_threads(threads) diff --git a/src/utils/logger.rs b/src/utils/logger.rs index 60936c66..0de2dfda 100644 --- a/src/utils/logger.rs +++ b/src/utils/logger.rs @@ -1,5 +1,7 @@ -use std::sync::{mpsc, Arc, Barrier, OnceLock}; -use std::thread; +use std::{ + sync::{mpsc, Arc, Barrier, OnceLock}, + thread, +}; pub use logger_thread::spawn_logger_thread;