aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_prof
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_prof')
-rw-r--r--crates/ra_prof/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs
index e56446c9f..61f2226d7 100644
--- a/crates/ra_prof/src/lib.rs
+++ b/crates/ra_prof/src/lib.rs
@@ -198,6 +198,7 @@ fn print(lvl: usize, msgs: &[Message], out: &mut impl Write) {
198 if l != lvl { 198 if l != lvl {
199 continue; 199 continue;
200 } 200 }
201
201 writeln!(out, "{} {:6}ms - {}", indent, dur.as_millis(), msg) 202 writeln!(out, "{} {:6}ms - {}", indent, dur.as_millis(), msg)
202 .expect("printing profiling info to stdout"); 203 .expect("printing profiling info to stdout");
203 204