diff options
author | Aleksey Kladov <[email protected]> | 2020-08-18 12:20:17 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-18 12:20:28 +0100 |
commit | 9389e313d0f5f16e301acaf38fee1c00c76c5cce (patch) | |
tree | 2288f208d3bf020e10cf906220fcd3f4cbc0a38e | |
parent | a95c5e21219cd6569e2630637fd4268e24c0ca03 (diff) |
Minor
-rw-r--r-- | crates/stdx/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
17 | 17 | ||
18 | impl Drop for Guard { | 18 | impl Drop for Guard { |
19 | fn drop(&mut self) { | 19 | fn drop(&mut self) { |
20 | eprintln!("{}: {:?}", self.label, self.start.elapsed()) | 20 | eprintln!("{}: {:.2?}", self.label, self.start.elapsed()) |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||