macro_rules! route {
($($x:expr),* $(,)?) => { ... };
}
Expand description
Creates a new Route
from a comma-delimited list of Address
es.
The route!
macro allows a Route
to be defined with the same
syntax as array expressions:
let address4: Address = random();
let route = route!["address1", "address2", "address3".to_string(), address4];