]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/sigpipe-should-be-ignored.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-pass / sigpipe-should-be-ignored.rs
index 957bcd0e4233f21eeb31e2fb2dda842affe14d50..b923bb91427fe64a111df82a5abd543138431fd5 100644 (file)
@@ -29,6 +29,6 @@ fn main() {
         return test();
     }
 
-    let mut p = Process::new(args[0], [~"test"]).unwrap();
+    let mut p = Process::new(args[0], ["test".to_owned()]).unwrap();
     assert!(p.wait().success());
 }