From 2181aced53c5082ff2f0e1454f11574614258aea Mon Sep 17 00:00:00 2001 From: Jake Probst Date: Thu, 6 Jun 2019 16:47:42 -0700 Subject: [PATCH] did that --- psopacket/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/psopacket/src/lib.rs b/psopacket/src/lib.rs index c6cc653..504cbc0 100644 --- a/psopacket/src/lib.rs +++ b/psopacket/src/lib.rs @@ -177,7 +177,6 @@ pub fn pso_packet(attr: TokenStream, item: TokenStream) -> TokenStream { let psopacket = quote! { impl PSOPacket for #this_struct { fn from_bytes(data: &Vec) -> Result<#this_struct, PacketParseError> { - // TODO: assert cmd is correct let mut cur = std::io::Cursor::new(data); cur.seek(SeekFrom::Start(2)); let mut b: [u8; 2] = [0; 2];