]> git.lizzy.rs Git - rust.git/commitdiff
Remove redundant s in output
authorWesley Wiser <wwiser@gmail.com>
Tue, 5 Jun 2018 03:10:23 +0000 (23:10 -0400)
committerWesley Wiser <wwiser@gmail.com>
Thu, 2 Aug 2018 22:57:24 +0000 (18:57 -0400)
src/librustc/util/profiling.rs

index 5bb1ddd669bb0510a1e178b7aee1a76a3410b7b5..ef4e233260470753646e32f98b610c857d92599e 100644 (file)
@@ -92,7 +92,7 @@ macro_rules! p {
             ($name:tt, $rustic_name:ident) => {
                 let (hits, total) = self.query_counts.$rustic_name;
                 let (hits, total) = if total > 0 {
-                    (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())
                 } else {
                     ("".into(), "".into())
                 };