From cd3ba96f91067a9200098c445a115f50c44901f6 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 8 Nov 2019 22:25:27 -0800 Subject: [PATCH] use full Read path in proc_macros --- 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 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)* })