From 1c9e089b7268fe4ffeeee5e594bb2d708470d2a1 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 15 Dec 2021 14:06:14 -0600 Subject: clippy --- .../src/packets/handshake/client_intention_packet.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'minecraft-protocol/src/packets/handshake') diff --git a/minecraft-protocol/src/packets/handshake/client_intention_packet.rs b/minecraft-protocol/src/packets/handshake/client_intention_packet.rs index 54a08f39..3f7e3b37 100644 --- a/minecraft-protocol/src/packets/handshake/client_intention_packet.rs +++ b/minecraft-protocol/src/packets/handshake/client_intention_packet.rs @@ -1,12 +1,8 @@ use std::hash::Hash; -use async_trait::async_trait; use tokio::io::BufReader; -use crate::{ - mc_buf, - packets::{ConnectionProtocol, Packet}, -}; +use crate::{mc_buf, packets::ConnectionProtocol}; use super::HandshakePacket; @@ -32,7 +28,7 @@ impl ClientIntentionPacket { } pub async fn read( - buf: &mut BufReader, + _buf: &mut BufReader, ) -> Result { Err("ClientIntentionPacket::parse not implemented".to_string()) // Ok(ClientIntentionPacket {}.get()) -- cgit v1.2.3