macro_rules! hash_set {
() => { ... };
($($elem:expr),*) => { ... };
}
Expand description
Creates a new HashSet
instance.
This macro can be used in two forms:
- Without arguments, it creates an empty
HashSet
. - With elements, it creates a
HashSet
and inserts the provided elements into it.