mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-03 10:00:19 +00:00
refactor: improve code formatting in mod.rs
and logger.rs
This commit is contained in:
parent
77b01d170f
commit
e1d7f1424a
@ -53,7 +53,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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user