diff options
| author | mat <github@matdoes.dev> | 2021-12-15 14:06:14 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-15 14:06:14 -0600 |
| commit | 1c9e089b7268fe4ffeeee5e594bb2d708470d2a1 (patch) | |
| tree | 7743fa0a6347d3adf727d7b942e6f91c1956e242 /minecraft-protocol/src/packets/handshake | |
| parent | 732de94d7b9f1bf2bc9239c8138a37c53242b470 (diff) | |
| download | azalea-drasl-1c9e089b7268fe4ffeeee5e594bb2d708470d2a1.tar.xz | |
clippy
Diffstat (limited to 'minecraft-protocol/src/packets/handshake')
| -rw-r--r-- | minecraft-protocol/src/packets/handshake/client_intention_packet.rs | 8 |
1 files changed, 2 insertions, 6 deletions
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<T: tokio::io::AsyncRead + std::marker::Unpin + std::marker::Send>( - buf: &mut BufReader<T>, + _buf: &mut BufReader<T>, ) -> Result<HandshakePacket, String> { Err("ClientIntentionPacket::parse not implemented".to_string()) // Ok(ClientIntentionPacket {}.get()) |
