We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0d37b commit d3aa593Copy full SHA for d3aa593
src/librustc/util/profiling.rs
@@ -92,7 +92,7 @@ impl CategoryData {
92
($name:tt, $rustic_name:ident) => {
93
let (hits, total) = self.query_counts.$rustic_name;
94
let (hits, total) = if total > 0 {
95
- (format!("{:.2}%", (((hits as f32) / (total as f32)) * 100.0)), total.to_string())
+ (format!("{:.2}", (((hits as f32) / (total as f32)) * 100.0)), total.to_string())
96
} else {
97
("".into(), "".into())
98
};
0 commit comments