From fc055d4e40e3235983d86880d50f214e8b14ba82 Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Fri, 3 Mar 2023 21:39:54 -0600 Subject: [PATCH] cargo fmt --- repak_cli/src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/repak_cli/src/main.rs b/repak_cli/src/main.rs index 4a7a9a1..79c895b 100644 --- a/repak_cli/src/main.rs +++ b/repak_cli/src/main.rs @@ -250,7 +250,9 @@ fn unpack(args: ActionUnpack) -> Result<(), repak::Error> { use indicatif::ParallelProgressIterator; - let iter = entries.par_iter().progress_with_style(indicatif::ProgressStyle::with_template(STYLE).unwrap()); + let iter = entries + .par_iter() + .progress_with_style(indicatif::ProgressStyle::with_template(STYLE).unwrap()); let progress = iter.progress.clone(); iter.try_for_each_init( || (progress.clone(), File::open(&args.input)), @@ -310,7 +312,9 @@ fn pack(args: ActionPack) -> Result<(), repak::Error> { use indicatif::ProgressIterator; - let mut iter = paths.iter().progress_with_style(indicatif::ProgressStyle::with_template(STYLE).unwrap()); + let mut iter = paths + .iter() + .progress_with_style(indicatif::ProgressStyle::with_template(STYLE).unwrap()); let progress = iter.progress.clone(); iter.try_for_each(|p| { let rel = &p