From e0a77229de179d92921c2fdb27f2341b43a10a43 Mon Sep 17 00:00:00 2001 From: ddidderr Date: Wed, 6 Apr 2022 20:02:02 +0200 Subject: [PATCH] (formatting) cargo fmt --- src/lib.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ef93cbb..b3b8254 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -88,9 +88,16 @@ impl Clock { "[CLOCK] {}/{}: {}ms", self.name, idx, - measurement.finish.duration_since(measurement.start).as_millis() + measurement + .finish + .duration_since(measurement.start) + .as_millis() ); } - println!("[CLOCK] {}/total: {}ms", self.name, self.total_duration.as_millis()); + println!( + "[CLOCK] {}/total: {}ms", + self.name, + self.total_duration.as_millis() + ); } }