forked from AbleOS/ableos
Changed macro param
This commit is contained in:
parent
e9e1242743
commit
8374dfe20a
|
@ -78,8 +78,8 @@ unsafe impl BytecodeItem for u8 {}
|
|||
/// ```
|
||||
#[macro_export]
|
||||
macro_rules! invoke_with_def {
|
||||
($macro:path) => {
|
||||
$macro! { $spec }
|
||||
($($macro:tt)*) => {
|
||||
$($macro)*! { $spec }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue