]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/ifmt.rs
test: Make manual changes to deal with the fallout from removal of
[rust.git] / src / test / run-pass / ifmt.rs
index 753e98422b3d4823cd344422020df9a5117fa491..7e9afc4de564f531b83d07c53297d5bbb4e5a2b3 100644 (file)
@@ -182,7 +182,7 @@ fn test_write() {
 // can do with them just yet (to test the output)
 fn test_print() {
     print!("hi");
-    print!("{:?}", ~[0u8]);
+    print!("{:?}", vec!(0u8));
     println!("hello");
     println!("this is a {}", "test");
     println!("{foo}", foo="bar");