macro_rules! hashset { ($($value:expr),*$(,)?) => { ... }; }
Expand description
Handy macro to construct a hashset
Example:
let _ : HashSet<_> = hashset![
"key1",
"key2",
"key3",
];macro_rules! hashset { ($($value:expr),*$(,)?) => { ... }; }
Handy macro to construct a hashset
Example:
let _ : HashSet<_> = hashset![
"key1",
"key2",
"key3",
];