aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-12-07 18:48:48 -0500
committerJoey Sacchini <joey@sacchini.net>2020-12-07 18:48:48 -0500
commit1728746a34d90f5b61644fc378a5a8a66ae09dd6 (patch)
tree601e6a87bc364b531fcd92f5f18fc2bc3c3a191e
parent8e707cd6e29825b52d3c72006c109c4aac145943 (diff)
downloadcraftio-rs-1728746a34d90f5b61644fc378a5a8a66ae09dd6.tar.gz
craftio-rs-1728746a34d90f5b61644fc378a5a8a66ae09dd6.tar.bz2
craftio-rs-1728746a34d90f5b61644fc378a5a8a66ae09dd6.zip
fix compile error (mistake in last commit)
-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
{