File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " if_chain"
4
- version = " 0.1.2 "
4
+ version = " 0.1.3 "
5
5
authors = [
" Chris Wong <[email protected] >" ]
6
6
7
7
license = " MIT/Apache-2.0"
Original file line number Diff line number Diff line change 128
128
/// Macro for writing nested `if let` expressions.
129
129
///
130
130
/// See the crate documentation for information on how to use this macro.
131
- #[ macro_export]
131
+ #[ macro_export( local_inner_macros ) ]
132
132
macro_rules! if_chain {
133
133
( $( $tt: tt) * ) => {
134
134
__if_chain! { @init ( ) $( $tt) * }
135
135
} ;
136
136
}
137
137
138
138
#[ doc( hidden) ]
139
- #[ macro_export]
139
+ #[ macro_export( local_inner_macros ) ]
140
140
macro_rules! __if_chain {
141
141
( @init ( $( $tt: tt) * ) then $then: block else $other: block) => {
142
142
__if_chain! { @expand $other $( $tt) * then $then }
You can’t perform that action at this time.
0 commit comments