mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
substitute either!
This commit is contained in:
parent
89dcff29e4
commit
00440f350c
2 changed files with 8 additions and 2 deletions
|
@ -1711,6 +1711,9 @@ macro_rules! one_of {
|
|||
($p1:expr, $($others:expr),+) => {
|
||||
one_of!($p1, one_of!($($others),+))
|
||||
};
|
||||
($p1:expr, $($others:expr),+ $(,)?) => {
|
||||
one_of!($p1, $($others),+)
|
||||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue