Skip to content

Commit

Permalink
Merge #455
Browse files Browse the repository at this point in the history
455: Fix new nighly lint unused_macro_rules r=jonasbb a=jonasbb

bors merge

Co-authored-by: Jonas Bushart <jonas@bushart.org>
  • Loading branch information
bors[bot] and jonasbb committed May 16, 2022
2 parents bbab6f9 + 56fd120 commit 337b66b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serde_with/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ pub mod with_prefix;
// Originally licensed as MIT+Apache 2
// https://github.com/shepmaster/snafu/blob/fd37d79d4531ed1d3eebffad0d658928eb860cfe/src/lib.rs#L121-L165
#[cfg(feature = "guide")]
#[allow(unused_macro_rules)]
macro_rules! generate_guide {
(pub mod $name:ident; $($rest:tt)*) => {
generate_guide!(@gen ".", pub mod $name { } $($rest)*);
Expand Down

0 comments on commit 337b66b

Please sign in to comment.