add DList example

This commit is contained in:
Manish Goregaokar 2014-11-20 12:37:45 +05:30
parent ca7ad5fa80
commit ae635a60e6

14
examples/dlist.rs Normal file
View File

@ -0,0 +1,14 @@
#![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());
}