mirror of
https://github.com/mastodon/flodgatt
synced 2025-04-11 22:58:25 +02:00
9 lines
232 B
Rust
9 lines
232 B
Rust
/// Combines multiple routes with the same return type together with
|
|
/// `or()` and `unify()`
|
|
#[macro_export]
|
|
macro_rules! or {
|
|
($filter:expr, $($other_filter:expr),*) => {
|
|
$filter$(.or($other_filter).unify())*
|
|
};
|
|
}
|