[][src]Macro literal::vec_from

macro_rules! vec_from {
    ($($item:expr),* $(,)?) => { ... };
}

Combines the vector literal with .into().

Examples

use literal::vec_from;
let a: Vec<String> = vec_from!["a", "b", "c", "d"];