From 9263439af8e7409bc2e6cf0ada82e44f5989374e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 1 Dec 2024 10:49:46 +0000 Subject: [PATCH] fix is_matching macro argument designator Signed-off-by: Jason Volk --- src/core/utils/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/utils/mod.rs b/src/core/utils/mod.rs index 18c2dd6f..1ab7d717 100644 --- a/src/core/utils/mod.rs +++ b/src/core/utils/mod.rs @@ -118,8 +118,8 @@ macro_rules! is_matching { |x| matches!(x, $val) }; - ($val:expr) => { - |x| matches!(x, $val) + ($($val:tt)+) => { + |x| matches!(x, $($val)+) }; }