File tree 1 file changed +3
-3
lines changed
crates/stackable-versioned-macros/src/codegen/vstruct
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,12 +322,12 @@ impl VersionedStruct {
322
322
let enum_ident = & self . idents . kubernetes ;
323
323
let enum_vis = & self . visibility ;
324
324
325
- let mut enum_variant_matches = TokenStream :: new ( ) ;
325
+ let mut enum_display_impl_matches = TokenStream :: new ( ) ;
326
326
let mut enum_variant_idents = TokenStream :: new ( ) ;
327
327
328
328
for ( enum_variant_ident, enum_variant_display) in enum_variants {
329
329
enum_variant_idents. extend ( quote ! { #enum_variant_ident, } ) ;
330
- enum_variant_matches . extend ( quote ! {
330
+ enum_display_impl_matches . extend ( quote ! {
331
331
#enum_ident:: #enum_variant_ident => f. write_str( #enum_variant_display) ,
332
332
} ) ;
333
333
}
@@ -342,7 +342,7 @@ impl VersionedStruct {
342
342
impl :: std:: fmt:: Display for #enum_ident {
343
343
fn fmt( & self , f: & mut :: std:: fmt:: Formatter <' _>) -> :: std:: result:: Result <( ) , :: std:: fmt:: Error > {
344
344
match self {
345
- #enum_variant_matches
345
+ #enum_display_impl_matches
346
346
}
347
347
}
348
348
}
You can’t perform that action at this time.
0 commit comments