]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make/unicode-input/span_length.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-make / unicode-input / span_length.rs
index 3b53af830e618a4dc2e11244749846dffce77be8..5f4af50753ec7c04afc4251f7964bd8ec8191ddf 100644 (file)
@@ -53,7 +53,7 @@ fn main() {
 
         // rustc is passed to us with --out-dir and -L etc., so we
         // can't exec it directly
-        let result = Process::output("sh", [~"-c", rustc + " " + main_file_str]).unwrap();
+        let result = Process::output("sh", ["-c".to_owned(), rustc + " " + main_file_str]).unwrap();
 
         let err = str::from_utf8_lossy(result.error.as_slice());