rust/examples/boxvec.rs
Manish Goregaokar 92f13d8231 boxvec
2014-11-19 14:27:34 +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());
}