hashset

Macro hashset 

Source
macro_rules! hashset {
    ($($value:expr),*$(,)?) => { ... };
}
Expand description

Handy macro to construct a hashset

Example:

let _ : HashSet<_> = hashset![
    "key1",
    "key2",
    "key3",
];