macro_rules! hash_set { {$($v: expr),* $(,)?} => { ... }; }
Macro for creating a HashSet.
HashSet
Syntactic sugar for HashSet::from.
HashSet::from
use map_macro::hash_set; let x = hash_set! { 1, 2, 3, 3, 4 }; assert_eq!(x.len(), 4);