macro_rules! hset { () => { ... }; ($($elem: expr),+ $(,)?) => { ... }; }
Create a HashSet from a list of elements.
HashSet
use sugars::hset; let set = hset! {"a", "b"}; assert!(set.contains("a")); assert!(set.contains("b")); assert!(!set.contains("c"));