substitute either!

This commit is contained in:
Folkert 2021-03-04 22:15:15 +01:00
parent 89dcff29e4
commit 00440f350c
2 changed files with 8 additions and 2 deletions

View file

@ -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]