rust/examples/box_vec.rs
Manish Goregaokar 871641030e rn box_vec
2014-11-20 00:17:42 +05:30

12 lines
164 B
Rust

#![feature(phase)]
#[phase(plugin)]
extern crate rust_clippy;
pub fn test(foo: Box<Vec<uint>>) {
println!("{}", foo)
}
fn main(){
test(box Vec::new());
}