Skip to content

Commit

Permalink
Auto merge of #1122 - gnzlbg:unused_macro, r=alexcrichton
Browse files Browse the repository at this point in the history
the f macro is unused in some targets
  • Loading branch information
bors committed Nov 12, 2018
2 parents 5d3025b + 9b74d99 commit 5cc0066
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
Expand Up @@ -48,6 +48,7 @@ macro_rules! s {
)*)
}

#[allow(unused_macros)]
macro_rules! f {
($(pub fn $i:ident($($arg:ident: $argty:ty),*) -> $ret:ty {
$($body:stmt);*
Expand Down

0 comments on commit 5cc0066

Please sign in to comment.