Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/src/hprof.rs')
-rw-r--r--crates/profile/src/hprof.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/profile/src/hprof.rs b/crates/profile/src/hprof.rs
index db2f33d065..b562c193e7 100644
--- a/crates/profile/src/hprof.rs
+++ b/crates/profile/src/hprof.rs
@@ -301,7 +301,7 @@ fn print(
}
}
- for (child_msg, (duration, count)) in short_children.iter() {
+ for (child_msg, (duration, count)) in &short_children {
writeln!(out, " {}{} - {} ({} calls)", current_indent, ms(*duration), child_msg, count)
.expect("printing profiling info");
}