From 4800bf537336024a612eba9adc8754fae5a708bf Mon Sep 17 00:00:00 2001 From: BMG Date: Fri, 2 Dec 2022 12:06:04 +0000 Subject: [PATCH] feat: more concise stats (#190) * feat: more concise stats * feat: refine wording of concise stats Co-authored-by: Jonas Chevalier Co-authored-by: Jonas Chevalier --- src/engine.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/engine.rs b/src/engine.rs index 41be8de..b1ea54a 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -336,17 +336,13 @@ fn print_summary( ) { println!( r#" -traversed {} files -matched {} files to formatters -left with {} files after cache -of whom {} files were re-formatted -all of this in {:.0?} +{} files changed in {:.0?} (found {}, matched {}, cache misses {}) "#, + reformatted_files, + start_time.elapsed(), traversed_files, matched_files, filtered_files, - reformatted_files, - start_time.elapsed() ); }