We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af1f16 commit 8e9ccf2Copy full SHA for 8e9ccf2
src/macros.rs
@@ -152,7 +152,9 @@ cfg_if! {
152
if #[cfg(feature = "extern-const-fn")] {
153
#[allow(unused_macros)]
154
macro_rules! f {
155
- ($(pub $({$constness:ident})* fn $i:ident($($arg:ident: $argty:ty),*) -> $ret:ty {
+ ($(pub $({$constness:ident})* fn $i:ident(
156
+ $($arg:ident: $argty:ty),*
157
+ ) -> $ret:ty {
158
$($body:stmt);*
159
})*) => ($(
160
#[inline]
@@ -164,7 +166,9 @@ cfg_if! {
164
166
} else {
165
167
168
169
170
171
172
173
174
0 commit comments