Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/src/stop_watch.rs')
-rw-r--r--crates/profile/src/stop_watch.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/profile/src/stop_watch.rs b/crates/profile/src/stop_watch.rs
index 112d03a9c7..43b1ce9e6d 100644
--- a/crates/profile/src/stop_watch.rs
+++ b/crates/profile/src/stop_watch.rs
@@ -70,15 +70,15 @@ impl fmt::Display for StopWatchSpan {
let mut prefix = "";
if instructions > 10000 {
instructions /= 1000;
- prefix = "k"
+ prefix = "k";
}
if instructions > 10000 {
instructions /= 1000;
- prefix = "m"
+ prefix = "m";
}
if instructions > 10000 {
instructions /= 1000;
- prefix = "g"
+ prefix = "g";
}
write!(f, ", {}{}instr", instructions, prefix)?;
}