File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ macro_rules! vec_or_none {
1717 . collect:: <Vec <_>>( )
1818 }
1919 } )
20- . unwrap_or( Vec :: new( ) ) ;
20+ . unwrap_or( Vec :: new( ) )
2121 } ;
2222 // for generating currencies structs, convert the currencies json
2323 // object to a valid rust struct
@@ -34,7 +34,7 @@ macro_rules! vec_or_none {
3434 . collect:: <Vec <_>>( )
3535 }
3636 } )
37- . unwrap_or( Vec :: new( ) ) ;
37+ . unwrap_or( Vec :: new( ) )
3838 } ;
3939 // for generating language structs, convert the language json
4040 // object to a valid rust struct
@@ -51,7 +51,7 @@ macro_rules! vec_or_none {
5151 . collect:: <Vec <_>>( )
5252 }
5353 } )
54- . unwrap_or( Vec :: new( ) ) ;
54+ . unwrap_or( Vec :: new( ) )
5555 } ;
5656 // for generating timezone structs, convert the timezone json
5757 // object to a valid rust struct
@@ -81,15 +81,15 @@ macro_rules! value_or_none {
8181 $country_data
8282 . get( $key)
8383 . map( |value| value. to_string( ) )
84- . unwrap_or( String :: from( "None" ) ) ;
84+ . unwrap_or( String :: from( "None" ) )
8585 } ;
8686}
8787
8888// parse the token stream from the built static map initilization
8989#[ macro_export]
9090macro_rules! tokens {
9191 ( $variable : expr ) => {
92- TokenStream :: from_str( & $variable. build( ) . to_string( ) ) ?;
92+ TokenStream :: from_str( & $variable. build( ) . to_string( ) ) ?
9393 } ;
9494}
9595
You can’t perform that action at this time.
0 commit comments