diff options
Diffstat (limited to 'iter_patterns')
-rw-r--r-- | iter_patterns/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iter_patterns/src/lib.rs b/iter_patterns/src/lib.rs index 75fe51c..14ed4c9 100644 --- a/iter_patterns/src/lib.rs +++ b/iter_patterns/src/lib.rs @@ -138,7 +138,7 @@ macro_rules! match_vec { * // x: usize * // y: impl Iterator<Option<usize>> * // z: Option<usize> - * } + * }, * [x, Some(0)] => { * // x: Option<usize> * }, @@ -152,7 +152,7 @@ macro_rules! match_iter { ($arg:expr; $($args:tt)*) => { { let vec: Vec<_> = $arg.collect(); - $crate::match_vec!(vec, $($args)*) + $crate::match_vec!(vec; $($args)*) } }; } |