File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ fn actual_main() -> dsync::Result<()> {
269269 once_connection_type : args. once_connection_type ,
270270 readonly_prefixes : args. readonly_prefixes ,
271271 readonly_suffixes : args. readonly_suffixes ,
272- additional_derives : args. additional_derives
272+ additional_derives : args. additional_derives ,
273273 } ,
274274 } ,
275275 ) ?;
Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ impl<'a> Struct<'a> {
198198 let mut _derives_vec = Vec :: < & str > :: with_capacity ( 10 + v. len ( ) ) ;
199199 _derives_vec. extend ( v. iter ( ) . map ( |s| -> & str { s. as_ref ( ) } ) ) ;
200200 _derives_vec
201- } ,
202- None => Vec :: with_capacity ( 10 )
201+ }
202+ None => Vec :: with_capacity ( 10 ) ,
203203 } ;
204204 // Default derives that exist on every struct
205205 derives_vec. extend_from_slice ( & [ derives:: DEBUG , derives:: CLONE ] ) ;
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ pub struct GenerationConfigOpts<'a> {
330330 pub readonly_suffixes : Vec < String > ,
331331
332332 /// Add these additional derives to each generated `struct`
333- pub additional_derives : Option < Vec < String > >
333+ pub additional_derives : Option < Vec < String > > ,
334334}
335335
336336impl GenerationConfigOpts < ' _ > {
You can’t perform that action at this time.
0 commit comments