From 1c9e089b7268fe4ffeeee5e594bb2d708470d2a1 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 15 Dec 2021 14:06:14 -0600 Subject: clippy --- minecraft-protocol/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-protocol/src/read.rs') diff --git a/minecraft-protocol/src/read.rs b/minecraft-protocol/src/read.rs index 7f4eeaac..f0c82641 100644 --- a/minecraft-protocol/src/read.rs +++ b/minecraft-protocol/src/read.rs @@ -22,7 +22,7 @@ pub async fn read_packet( // if we recognize the packet id, parse it - let packet = P::read(packet_id.try_into().unwrap(), &flow, &mut buf).await?; + let packet = P::read(packet_id.try_into().unwrap(), flow, &mut buf).await?; Ok(packet) } -- cgit v1.2.3