rust/examples/box_vec.rs
2014-12-26 05:30:03 +05:30

12 lines
159 B
Rust

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