From 9389e313d0f5f16e301acaf38fee1c00c76c5cce Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Aug 2020 13:20:17 +0200 Subject: Minor --- crates/stdx/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/stdx/src') diff --git a/crates/stdx/src/lib.rs b/crates/stdx/src/lib.rs index 3c5027fe5..265d19288 100644 --- a/crates/stdx/src/lib.rs +++ b/crates/stdx/src/lib.rs @@ -17,7 +17,7 @@ pub fn timeit(label: &'static str) -> impl Drop { impl Drop for Guard { fn drop(&mut self) { - eprintln!("{}: {:?}", self.label, self.start.elapsed()) + eprintln!("{}: {:.2?}", self.label, self.start.elapsed()) } } -- cgit v1.2.3