Skip to content

Commit d9161b5

Browse files
committed
Add missing attributes
1 parent 35d9b13 commit d9161b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ cfg_if! {
165165
)*)
166166
}
167167

168+
#[allow(unused_macros)]
168169
macro_rules! const_fn {
169170
($($({$constness:ident})* fn $i:ident(
170171
$($arg:ident: $argty:ty),*
@@ -195,6 +196,7 @@ cfg_if! {
195196
)*)
196197
}
197198

199+
#[allow(unused_macros)]
198200
macro_rules! const_fn {
199201
($($({$constness:ident})* fn $i:ident(
200202
$($arg:ident: $argty:ty),*

0 commit comments

Comments
 (0)