mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +00:00
Minor
This commit is contained in:
parent
a95c5e2121
commit
9389e313d0
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 {
|
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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue