use full Read path in proc_macros
This commit is contained in:
parent
955e284c19
commit
cd3ba96f91
@ -407,7 +407,7 @@ pub fn pso_packet_data(input: TokenStream) -> TokenStream {
|
|||||||
|
|
||||||
let impl_pso_data_packet = quote! {
|
let impl_pso_data_packet = quote! {
|
||||||
impl PSOPacketData for #name {
|
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 {
|
Ok(#name {
|
||||||
#(#from_bytes)*
|
#(#from_bytes)*
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user