rust/examples/dlist.rs

15 lines
208 B
Rust
Raw Normal View History

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