macro_rules! list_from {
($($item:expr),* $(,)?) => { ... };
}Expand description
Combines the list literal with .into().
ยงExamples
use std::collections::LinkedList;
use literal::list_from;
let a: LinkedList<String> = list_from!["a", "b", "c", "d"];