File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ macro_rules! vec_or_none {
17
17
. collect:: <Vec <_>>( )
18
18
}
19
19
} )
20
- . unwrap_or( Vec :: new( ) ) ;
20
+ . unwrap_or( Vec :: new( ) )
21
21
} ;
22
22
// for generating currencies structs, convert the currencies json
23
23
// object to a valid rust struct
@@ -34,7 +34,7 @@ macro_rules! vec_or_none {
34
34
. collect:: <Vec <_>>( )
35
35
}
36
36
} )
37
- . unwrap_or( Vec :: new( ) ) ;
37
+ . unwrap_or( Vec :: new( ) )
38
38
} ;
39
39
// for generating language structs, convert the language json
40
40
// object to a valid rust struct
@@ -51,7 +51,7 @@ macro_rules! vec_or_none {
51
51
. collect:: <Vec <_>>( )
52
52
}
53
53
} )
54
- . unwrap_or( Vec :: new( ) ) ;
54
+ . unwrap_or( Vec :: new( ) )
55
55
} ;
56
56
// for generating timezone structs, convert the timezone json
57
57
// object to a valid rust struct
@@ -81,15 +81,15 @@ macro_rules! value_or_none {
81
81
$country_data
82
82
. get( $key)
83
83
. map( |value| value. to_string( ) )
84
- . unwrap_or( String :: from( "None" ) ) ;
84
+ . unwrap_or( String :: from( "None" ) )
85
85
} ;
86
86
}
87
87
88
88
// parse the token stream from the built static map initilization
89
89
#[ macro_export]
90
90
macro_rules! tokens {
91
91
( $variable : expr ) => {
92
- TokenStream :: from_str( & $variable. build( ) . to_string( ) ) ?;
92
+ TokenStream :: from_str( & $variable. build( ) . to_string( ) ) ?
93
93
} ;
94
94
}
95
95
You can’t perform that action at this time.
0 commit comments