aboutsummaryrefslogtreecommitdiff
path: root/minecraft-protocol/src/connection.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-09 22:10:45 +0000
committermat <github@matdoes.dev>2021-12-09 22:10:45 +0000
commit966471f740ea7cb19e7106000a9f3cf9d306fd32 (patch)
tree7bec45bf72900ad6a1752ec9f7c172f385736880 /minecraft-protocol/src/connection.rs
parentecee5e96ca2f7d00dd14f44ff0c1facd01550b65 (diff)
downloadazalea-drasl-966471f740ea7cb19e7106000a9f3cf9d306fd32.tar.xz
split mstuff
Diffstat (limited to 'minecraft-protocol/src/connection.rs')
-rw-r--r--minecraft-protocol/src/connection.rs2
1 files changed, 1 insertions, 1 deletions
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: