Skip to content

Commit

Permalink
Allow unused macro rules for macro cfg_if.
Browse files Browse the repository at this point in the history
The unused macro rules lint is an upcoming lint for the rust compiler: [rust-lang/rust#96150](rust-lang/rust#96150)
  • Loading branch information
JustForFun88 committed May 15, 2022
1 parent 3b0a211 commit de2600c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// See the cfg-if crate.
#[allow(unused)]
macro_rules! cfg_if {
// match if/else chains with a final `else`
($(
Expand Down

0 comments on commit de2600c

Please sign in to comment.