aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.rs b/src/connection.rs
index 24ea74f..84e0b21 100644
--- a/src/connection.rs
+++ b/src/connection.rs
@@ -57,7 +57,7 @@ where
}
#[cfg(feature = "gat")]
- fn read_packet<P>(&mut self) -> ReadResult<<P::RawPacket<'_>>::Packet>
+ fn read_packet<P>(&mut self) -> ReadResult<<P::RawPacket<'_> as RawPacket>::Packet>
where
P: PacketKind
{