fix is_matching macro argument designator
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -118,8 +118,8 @@ macro_rules! is_matching {
|
||||
|x| matches!(x, $val)
|
||||
};
|
||||
|
||||
($val:expr) => {
|
||||
|x| matches!(x, $val)
|
||||
($($val:tt)+) => {
|
||||
|x| matches!(x, $($val)+)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user