This commit is contained in:
Aleksey Kladov 2020-08-18 13:20:17 +02:00
parent a95c5e2121
commit 9389e313d0

View file

@ -17,7 +17,7 @@ pub fn timeit(label: &'static str) -> impl Drop {
impl Drop for Guard { impl Drop for Guard {
fn drop(&mut self) { fn drop(&mut self) {
eprintln!("{}: {:?}", self.label, self.start.elapsed()) eprintln!("{}: {:.2?}", self.label, self.start.elapsed())
} }
} }