Changed macro param

This commit is contained in:
Erin 2024-01-07 00:34:28 +01:00
parent e9e1242743
commit 8374dfe20a

View file

@ -78,8 +78,8 @@ unsafe impl BytecodeItem for u8 {}
/// ```
#[macro_export]
macro_rules! invoke_with_def {
($macro:path) => {
$macro! { $spec }
($($macro:tt)*) => {
$($macro)*! { $spec }
};
}
}