]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/log-poly.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / log-poly.rs
index b4a673284811a10c84cb5836a2b95a5bcd631d6e..69685b58ab5046820e1d8a068d5362b7816cdf17 100644 (file)
@@ -16,5 +16,5 @@ pub fn main() {
     println!("{}", 1);
     println!("{}", 2.0);
     println!("{:?}", Three);
-    println!("{:?}", ~[4]);
+    println!("{:?}", vec!(4));
 }