macro_rules! svec {
($($x:expr),* $(,)?) => { ... };
}Expand description
Create a Vec<String> from string literals or expressions.
ยงExamples
use commonsense::svec;
let words = svec!["hello", "world"];
assert_eq!(words, vec!["hello".to_string(), "world".to_string()]);