mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
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…
Reference in a new issue