File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 34
34
macro_rules! cfg_if {
35
35
// match if/else chains with a final `else`
36
36
( $(
37
- if #[ cfg( $( $ meta: meta) , * ) ] { $( $tokens: tt) * }
37
+ if #[ cfg( $meta: meta) ] { $( $tokens: tt) * }
38
38
) else * else {
39
39
$( $tokens2: tt) *
40
40
} ) => {
41
41
$crate:: cfg_if! {
42
42
@__items
43
43
( ) ;
44
- $( ( ( $( $ meta) , * ) ( $( $tokens) * ) ) , ) *
44
+ $( ( ( $meta) ( $( $tokens) * ) ) , ) *
45
45
( ( ) ( $( $tokens2) * ) ) ,
46
46
}
47
47
} ;
48
48
49
49
// match if/else chains lacking a final `else`
50
50
(
51
- if #[ cfg( $( $ i_met: meta) , * ) ] { $( $i_tokens: tt) * }
51
+ if #[ cfg( $i_met: meta) ] { $( $i_tokens: tt) * }
52
52
$(
53
- else if #[ cfg( $( $ e_met: meta) , * ) ] { $( $e_tokens: tt) * }
53
+ else if #[ cfg( $e_met: meta) ] { $( $e_tokens: tt) * }
54
54
) *
55
55
) => {
56
56
$crate:: cfg_if! {
57
57
@__items
58
58
( ) ;
59
- ( ( $( $ i_met) , * ) ( $( $i_tokens) * ) ) ,
60
- $( ( ( $( $ e_met) , * ) ( $( $e_tokens) * ) ) , ) *
59
+ ( ( $i_met) ( $( $i_tokens) * ) ) ,
60
+ $( ( ( $e_met) ( $( $e_tokens) * ) ) , ) *
61
61
( ( ) ( ) ) ,
62
62
}
63
63
} ;
You can’t perform that action at this time.
0 commit comments