rust-clippy/examples/dlist.rs
2014-11-20 12:37:45 +05:30

14 lines
No EOL
216 B
Rust

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