vinto

Macro vinto 

Source
macro_rules! vinto {
    () => { ... };
    ( $($elem:expr),+ $(,)? ) => { ... };
}
Expand description

Calls .into() on each element in the vector.

ยงExamples

use wec::vinto;

let v: Vec<String> = vinto!["foo", String::from("bar")];
assert_eq!(v, vec![String::from("foo"), String::from("bar")]);