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 84e0b21..f53f07d 100644
--- a/src/connection.rs
+++ b/src/connection.rs
@@ -119,7 +119,7 @@ where
}
#[cfg(feature = "gat")]
- async fn read_packet_async<P>(&mut self) -> ReadResult<<P::RawPacket<'_>>::Packet>
+ async fn read_packet_async<P>(&mut self) -> ReadResult<<P::RawPacket<'_> as RawPacket<'_>>::Packet>
where
P: PacketKind
{