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-10-13 18:48:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-24 14:21:57 -0700
commit61ed2cfb5516f76487509766b1054275f1340f70 (patch)
tree815c604da80638dfc659220ee9f697b074954f47 /src/test/bench/std-smallintmap.rs
parent4eb53360541baf3e6df36dc0f0766bc7c1c9f8be (diff)
downloadrust-61ed2cfb5516f76487509766b1054275f1340f70.tar.gz
rust-61ed2cfb5516f76487509766b1054275f1340f70.zip
Remove even more of std::io
Big fish fried here:

    extra::json
    most of the compiler
    extra::io_util removed
    extra::fileinput removed

Fish left to fry

    extra::ebml
Diffstat (limited to 'src/test/bench/std-smallintmap.rs')
-rw-r--r--src/test/bench/std-smallintmap.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/test/bench/std-smallintmap.rs b/src/test/bench/std-smallintmap.rs
index be2bd051cad..e1b1f59298e 100644
--- a/src/test/bench/std-smallintmap.rs
+++ b/src/test/bench/std-smallintmap.rs
@@ -13,8 +13,6 @@
 extern mod extra;
 
 use extra::smallintmap::SmallIntMap;
-use std::io::WriterUtil;
-use std::io;
 use std::os;
 use std::uint;
 
@@ -59,8 +57,8 @@ fn main() {
 
     let maxf = max as f64;
 
-    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));
+    println!("insert(): {:?} seconds\n", checkf);
+    println!("        : {} op/sec\n", maxf/checkf);
+    println!("get()   : {:?} seconds\n", appendf);
+    println!("        : {} op/sec\n", maxf/appendf);
 }