]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-4036.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / issue-4036.rs
index 0298a2a324fec446916149c08e0d373ead3cdf68..fbd4e2cd7425a197fb125f140220429d47afeefa 100644 (file)
@@ -19,5 +19,5 @@
 pub fn main() {
     let json = json::from_str("[1]").unwrap();
     let mut decoder = json::Decoder::new(json);
-    let _x: ~[int] = Decodable::decode(&mut decoder);
+    let _x: Vec<int> = Decodable::decode(&mut decoder);
 }