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