fix is_matching macro argument designator

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-01 10:49:46 +00:00
parent 4a3cc9fffa
commit 9263439af8

View file

@ -118,8 +118,8 @@ macro_rules! is_matching {
|x| matches!(x, $val)
};
($val:expr) => {
|x| matches!(x, $val)
($($val:tt)+) => {
|x| matches!(x, $($val)+)
};
}