use full Read path in proc_macros

This commit is contained in:
jake 2019-11-08 22:25:27 -08:00
parent 955e284c19
commit cd3ba96f91

View File

@ -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<R: Read>(mut cur: &mut R) -> Result<Self, PacketParseError> {
fn from_bytes<R: std::io::Read>(mut cur: &mut R) -> Result<Self, PacketParseError> {
Ok(#name {
#(#from_bytes)*
})