From 407c81a66ed3d8c88de0c5779d10b5457d842fcc Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 19 Apr 2024 15:21:00 +0200 Subject: [PATCH] chore: treefmt Run treefmt on itself. --- src/engine.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine.rs b/src/engine.rs index a9fda025..f36c4df4 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -123,9 +123,9 @@ pub fn run_treefmt( let start_time = Instant::now(); // Run the formatter - paths.par_chunks(1024).try_for_each(|path_chunks| { - formatter.clone().fmt(path_chunks) - })?; + paths + .par_chunks(1024) + .try_for_each(|path_chunks| formatter.clone().fmt(path_chunks))?; // Get the new mtimes and compare them to the original ones let new_paths = paths