]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-create.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / unique-create.rs
index 9570c17c8654c3393d8989cb2fd6903a8131e442..023917ec2e9485a2617b48a1f36c755c974deae1 100644 (file)
@@ -13,5 +13,5 @@ pub fn main() {
 }
 
 fn vec() {
-    ~[0];
+    vec!(0);
 }