Skip to content

Commit

Permalink
Add missing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Oct 1, 2019
1 parent 35d9b13 commit d9161b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ cfg_if! {
)*)
}

#[allow(unused_macros)]
macro_rules! const_fn {
($($({$constness:ident})* fn $i:ident(
$($arg:ident: $argty:ty),*
Expand Down Expand Up @@ -195,6 +196,7 @@ cfg_if! {
)*)
}

#[allow(unused_macros)]
macro_rules! const_fn {
($($({$constness:ident})* fn $i:ident(
$($arg:ident: $argty:ty),*
Expand Down

0 comments on commit d9161b5

Please sign in to comment.