From c6ad5f4be6525e4e8ea1a8660e64e85f2de4a46e Mon Sep 17 00:00:00 2001 From: Jake Probst Date: Sun, 23 Jun 2019 15:47:21 -0700 Subject: [PATCH] don't need this enumerated --- psopacket/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psopacket/src/lib.rs b/psopacket/src/lib.rs index 50c8a75..72ef8de 100644 --- a/psopacket/src/lib.rs +++ b/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 partialeq = Vec::new(); - for (i, f) in parsed.fields.iter().enumerate() { + for f in parsed.fields.iter() { if let Some(ident) = &f.ident { let ident_str = ident.to_string();