Macro list

Source
macro_rules! list {
    ($($item:expr),* $(,)?) => { ... };
}
Expand description

Literal for LinkedList.

ยงExamples

use std::collections::LinkedList;
use literal::list;

let a: LinkedList<i32> = list![1, 2, 3, 4];