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.
@__identity
1 parent 527acbd commit 4d7a585Copy full SHA for 4d7a585
src/lib.rs
@@ -82,7 +82,7 @@ macro_rules! cfg_if {
82
$( $yes , )?
83
not(any( $( $no ),* ))
84
))]
85
- $crate::cfg_if! { @__identity $( $tokens )* }
+ $( $tokens )*
86
87
// Recurse to emit all other items in `$rest`, and when we do so add all
88
// our `$yes` matchers to the list of `$no` matchers as future emissions
@@ -92,12 +92,6 @@ macro_rules! cfg_if {
92
$( $rest , )*
93
}
94
};
95
-
96
- // Internal macro to make __apply work out right for different match types,
97
- // because of how macros match/expand stuff.
98
- (@__identity $( $tokens:tt )* ) => {
99
- $( $tokens )*
100
- };
101
102
103
#[cfg(test)]
0 commit comments