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