Merge #5793
5793: Minor
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
5dfb1e054a
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue