]> git.lizzy.rs Git - rust.git/blobdiff - src/test/bench/msgsend-pipes.rs
test: Make manual changes to deal with the fallout from removal of
[rust.git] / src / test / bench / msgsend-pipes.rs
index 7e2c5ba46b20a01ae9cb712d7b745354b09fdc15..0f0cb9c59d53f40c6d54a82cfa65c1ce54b385a0 100644 (file)
@@ -19,6 +19,7 @@
 use std::os;
 use std::task;
 use std::uint;
+use std::vec_ng::Vec;
 
 fn move_out<T>(_x: T) {}
 
@@ -110,9 +111,9 @@ fn main() {
     } else if args.len() <= 1u {
         vec!(~"", ~"10000", ~"4")
     } else {
-        args.clone()
+        args.clone().move_iter().collect()
     };
 
     println!("{:?}", args);
-    run(args);
+    run(args.as_slice());
 }