rust/examples/dlist.rs

14 lines
211 B
Rust
Raw Normal View History

2014-11-20 08:07:45 +01:00
#![feature(phase)]
#[phase(plugin)]
2014-12-26 01:00:03 +01:00
extern crate clippy;
2014-11-20 08:07:45 +01:00
extern crate collections;
use collections::dlist::DList;
pub fn test(foo: DList<uint>) {
println!("{}", foo)
}
fn main(){
test(DList::new());
}