Macro amplify::list[][src]

macro_rules! list {
    { } => { ... };
    { $($value:expr)=>+ } => { ... };
}

Macro for creating [LinkedList] in the same manner as vec! is used for Vec:

#[macro_use]
extern crate amplify;

let list = list! {
    s!("item one") =>
    s!("item two") =>
    s!("item three")
};