Skip to content

Commit 0c19418

Browse files
committed
kernel_function: Allow unused_macro_rules
1 parent 157ea68 commit 0c19418

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros.rs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ macro_rules! try_sys {
8181
/// // instead of
8282
/// let ret = f(arg);
8383
/// ```
84+
#[allow(unused_macro_rules)]
8485
macro_rules! kernel_function {
8586
($f:ident()) => {
8687
$crate::arch::switch::kernel_function0($f)

0 commit comments

Comments
 (0)