When you literally just want a literal of the std::collections types.
# use ;
# use ;
let m: = hmap!;
assert_eq!
When you literally just want a literal of the std::collections types.
# use std::collections::{HashMap, HashSet};
# use literally::{hmap, hset};
let m: HashMap<String, HashSet<String>> = hmap!{
"key" => hset!{
"value"
}
};
assert_eq!(m.get("key").unwrap().get("value"), Some(&"value".to_string()))