diff --git a/psopacket/src/lib.rs b/psopacket/src/lib.rs index b768fa1..03730b5 100644 --- a/psopacket/src/lib.rs +++ b/psopacket/src/lib.rs @@ -407,7 +407,7 @@ pub fn pso_packet_data(input: TokenStream) -> TokenStream { let impl_pso_data_packet = quote! { impl PSOPacketData for #name { - fn from_bytes(mut cur: &mut R) -> Result { + fn from_bytes(mut cur: &mut R) -> Result { Ok(#name { #(#from_bytes)* })