about summary refs log tree commit diff
path: root/src/test/bench/std-smallintmap.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-29 23:13:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-30 23:21:20 -0700
commit73c6c9109fb334edf159ad08f67cc2e66c7035a5 (patch)
tree3e85a8e41a5874ededec7c9518adfda552e52c80 /src/test/bench/std-smallintmap.rs
parent02054ac8a1490211a5a6873fdefe186bd0758b7b (diff)
downloadrust-73c6c9109fb334edf159ad08f67cc2e66c7035a5.tar.gz
rust-73c6c9109fb334edf159ad08f67cc2e66c7035a5.zip
bench: Remove usage of fmt!
Diffstat (limited to 'src/test/bench/std-smallintmap.rs')
-rw-r--r--src/test/bench/std-smallintmap.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/bench/std-smallintmap.rs b/src/test/bench/std-smallintmap.rs
index 6940c97d76e..2e812ba2d09 100644
--- a/src/test/bench/std-smallintmap.rs
+++ b/src/test/bench/std-smallintmap.rs
@@ -59,8 +59,8 @@ fn main() {
 
     let maxf = max as float;
 
-    io::stdout().write_str(fmt!("insert(): %? seconds\n", checkf));
-    io::stdout().write_str(fmt!("        : %f op/sec\n", maxf/checkf));
-    io::stdout().write_str(fmt!("get()   : %? seconds\n", appendf));
-    io::stdout().write_str(fmt!("        : %f op/sec\n", maxf/appendf));
+    io::stdout().write_str(format!("insert(): {:?} seconds\n", checkf));
+    io::stdout().write_str(format!("        : {} op/sec\n", maxf/checkf));
+    io::stdout().write_str(format!("get()   : {:?} seconds\n", appendf));
+    io::stdout().write_str(format!("        : {} op/sec\n", maxf/appendf));
 }