Skip to content

Commit

Permalink
Allow unused macro rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed May 16, 2022
1 parent cd99f68 commit b3b81a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Expand Up @@ -62,7 +62,7 @@ macro_rules! cfg_if {
};
}

#[allow(unused_macros)]
#[allow(unused_macros, unused_macro_rules)]
macro_rules! s {
($($(#[$attr:meta])* pub $t:ident $i:ident { $($field:tt)* })*) => ($(
s!(it: $(#[$attr])* pub $t $i { $($field)* });
Expand Down

0 comments on commit b3b81a7

Please sign in to comment.