mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 03:55:28 +00:00
refactor: improve code formatting in mod.rs
and logger.rs
This commit is contained in:
parent
0ee6ae193b
commit
d7663477e8
@ -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)
|
||||
|
@ -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