mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +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…
Add table
Add a link
Reference in a new issue