1
Fork 0
rust/examples/box_vec.rs

12 lines
159 B
Rust
Raw Normal View History

2014-11-19 14:27:34 +05:30
#![feature(phase)]
#[phase(plugin)]
2014-12-26 05:30:03 +05:30
extern crate clippy;
2014-11-19 14:27:34 +05:30
pub fn test(foo: Box<Vec<uint>>) {
println!("{}", foo)
}
fn main(){
test(box Vec::new());
}