Macro tmx_utils::vec_string
source · macro_rules! vec_string { ($($x:expr),*) => { ... }; }
Expand description
Declares a Vec<String> and casts string literals from &str to String
Examples
assert_eq!(tmx_utils::vec_string!["I was once a string slice &str"],
vec!["I was once a string slice &str".to_string()]);