From 966471f740ea7cb19e7106000a9f3cf9d306fd32 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 9 Dec 2021 22:10:45 +0000 Subject: split mstuff --- minecraft-protocol/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-protocol/src/connection.rs') diff --git a/minecraft-protocol/src/connection.rs b/minecraft-protocol/src/connection.rs index e0d781c8..e5784eb6 100644 --- a/minecraft-protocol/src/connection.rs +++ b/minecraft-protocol/src/connection.rs @@ -72,7 +72,7 @@ impl Connection { } /// Write a packet to the server - pub async fn send_packet(&mut self, packet: &impl Packet) { + pub async fn send_packet(&mut self, packet: Packet<'_>) { // TODO: implement compression // packet structure: -- cgit v1.2.3