macro_rules! collection {
($($k:expr => $v:expr),* $(,)?) => { ... };
($($v:expr),* $(,)?) => { ... };
}
Expand description
The collection
macro provides syntax for hash and set literals.
macro_rules! collection {
($($k:expr => $v:expr),* $(,)?) => { ... };
($($v:expr),* $(,)?) => { ... };
}
The collection
macro provides syntax for hash and set literals.