macron_collections/
hash_set.rs

1/// Creates a collection [HashSet](std::collections::HashSet)
2#[macro_export]
3macro_rules! hash_set {
4    () => { ::std::collections::HashSet::new() };
5    
6    ($($v:expr),* $(,)?) => {{
7        let mut set = ::std::collections::HashSet::new();
8        $(set.insert($v);)*
9        set
10    }};
11}