From c6068a642da1f62b3aec66f9aec1a0ab5764fafb Mon Sep 17 00:00:00 2001 From: Federico Lolli <federico.lolli@skywarder.eu> Date: Mon, 19 Feb 2024 00:24:38 +0100 Subject: [PATCH] fixed macro mismatch between debug and release --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a482570..5f1c86a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,7 +26,7 @@ macro_rules! warn_debug { /// in release mode, this macro does nothing #[cfg(not(debug_assertions))] macro_rules! warn_debug { - () => {}; + ($msg:literal, $($arg:expr),*) => {}; } /// This is a wrapper to the arguments passed to the MEX function -- GitLab