fix is_matching macro argument designator
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
4a3cc9fffa
commit
9263439af8
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ macro_rules! is_matching {
|
|||
|x| matches!(x, $val)
|
||||
};
|
||||
|
||||
($val:expr) => {
|
||||
|x| matches!(x, $val)
|
||||
($($val:tt)+) => {
|
||||
|x| matches!(x, $($val)+)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue