Closed
Description
I wanted to create an issue first asking about this before submitting a pull request.
Can I go ahead an implement hashmap!()
, hashset!()
, treemap!()
, and treeset!()
macros for constructing those collections with the given arguments? The syntax would be:
let h = hashmap!("foo" => "bar");
let s = hashset!("foo");
I already have these macros implemented in my own projects, so I'd just have to add them to macros.rs.
If I can add these, is there a process for testing macros? Or would I just replace all occurrences of hash{map,set} and tree{map,set} creation in the tests by the macros?