hset!() { /* proc-macro */ }
Expand description

Create a std::collections::HashSet from a list of elements.

Example

use helper::hset;

let set = hset! {"a", "b"};
assert!(set.contains("a"));
assert!(set.contains("b"));