Files
rust/examples/dlist.rs

15 lines
208 B
Rust
Raw Normal View History

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