diff options
| author | mat <github@matdoes.dev> | 2022-05-03 18:20:24 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-03 18:20:24 +0000 |
| commit | c9878129274258a30dc3ee0ecbd064b4fcf9bc6e (patch) | |
| tree | 07e03b13eb71b4231159d42b5773e31371e83858 /azalea-protocol/src/write.rs | |
| parent | 477c367fc44a2b5c139845f7e8307c6c276d95ee (diff) | |
| download | azalea-drasl-c9878129274258a30dc3ee0ecbd064b4fcf9bc6e.tar.xz | |
clippy
Diffstat (limited to 'azalea-protocol/src/write.rs')
| -rwxr-xr-x | azalea-protocol/src/write.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea-protocol/src/write.rs b/azalea-protocol/src/write.rs index 345829c5..9291681c 100755 --- a/azalea-protocol/src/write.rs +++ b/azalea-protocol/src/write.rs @@ -2,10 +2,7 @@ use crate::{mc_buf::Writable, packets::ProtocolPacket, read::MAXIMUM_UNCOMPRESSE use async_compression::tokio::bufread::ZlibEncoder; use azalea_crypto::Aes128CfbEnc; use std::fmt::Debug; -use tokio::{ - io::{AsyncReadExt, AsyncWrite, AsyncWriteExt}, - net::TcpStream, -}; +use tokio::io::{AsyncReadExt, AsyncWrite, AsyncWriteExt}; fn frame_prepender(data: &mut Vec<u8>) -> Result<Vec<u8>, String> { let mut buf = Vec::new(); |
