Skip to content

Commit

Permalink
tf?
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweattypalms committed Oct 27, 2024
1 parent bae7192 commit fc061ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/derive_macros/src/net/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn generate_async_field_encoders(fields: &syn::Fields) -> proc_macro2::TokenStre

// Generate enum variant encoding using static dispatch
fn generate_enum_encoders(data: &syn::DataEnum) -> (proc_macro2::TokenStream, proc_macro2::TokenStream) {
let variants = data.variants.iter().enumerate().map(|(idx, variant)| {
let variants = data.variants.iter().enumerate().map(|(_, variant)| {
let variant_ident = &variant.ident;

match &variant.fields {
Expand Down

0 comments on commit fc061ca

Please sign in to comment.