Browse Source

don't need this enumerated

pull/3/head
Jake Probst 6 years ago
parent
commit
c6ad5f4be6
  1. 2
      psopacket/src/lib.rs

2
psopacket/src/lib.rs

@ -18,7 +18,7 @@ pub fn pso_packet(attr: TokenStream, item: TokenStream) -> TokenStream {
let mut dbg_write_vars = Vec::new(); let mut dbg_write_vars = Vec::new();
let mut partialeq = Vec::new(); let mut partialeq = Vec::new();
for (i, f) in parsed.fields.iter().enumerate() {
for f in parsed.fields.iter() {
if let Some(ident) = &f.ident { if let Some(ident) = &f.ident {
let ident_str = ident.to_string(); let ident_str = ident.to_string();

Loading…
Cancel
Save