]> git.lizzy.rs Git - rust.git/blobdiff - src/test/bench/msgsend-ring-mutex-arcs.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / bench / msgsend-ring-mutex-arcs.rs
index b24dc588babf6cc6046e4523ba0253085cca4a4c..2779ec06e9ff0bc5a7ab3fb0cb88cc7bf15e0721 100644 (file)
@@ -63,9 +63,9 @@ fn thread_ring(i: uint, count: uint, num_chan: pipe, num_port: pipe) {
 fn main() {
     let args = os::args();
     let args = if os::getenv("RUST_BENCH").is_some() {
-        vec!(~"", ~"100", ~"10000")
+        vec!("".to_owned(), "100".to_owned(), "10000".to_owned())
     } else if args.len() <= 1u {
-        vec!(~"", ~"10", ~"100")
+        vec!("".to_owned(), "10".to_owned(), "100".to_owned())
     } else {
         args.clone().move_iter().collect()
     };