aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-18 12:20:17 +0100
committerAleksey Kladov <[email protected]>2020-08-18 12:20:28 +0100
commit9389e313d0f5f16e301acaf38fee1c00c76c5cce (patch)
tree2288f208d3bf020e10cf906220fcd3f4cbc0a38e /crates
parenta95c5e21219cd6569e2630637fd4268e24c0ca03 (diff)
Minor
Diffstat (limited to 'crates')
-rw-r--r--crates/stdx/src/lib.rs2
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