aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs1
-rw-r--r--azalea-client/src/local_player.rs1
-rw-r--r--azalea-client/src/raw_connection.rs1
3 files changed, 1 insertions, 2 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index caeca7fe..9083a80b 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -3,7 +3,6 @@ use std::{
fmt::Debug,
io,
net::SocketAddr,
- ops::Deref,
sync::Arc,
time::{Duration, Instant},
};
diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs
index b0582d8b..3cc77f9d 100644
--- a/azalea-client/src/local_player.rs
+++ b/azalea-client/src/local_player.rs
@@ -137,6 +137,7 @@ pub fn death_event(query: Query<&LocalPlayerEvents, Added<Dead>>) {
}
}
+#[allow(clippy::large_enum_variant)]
#[derive(Error, Debug)]
pub enum HandlePacketError {
#[error("{0}")]
diff --git a/azalea-client/src/raw_connection.rs b/azalea-client/src/raw_connection.rs
index 9f7a85f1..8cbb15a4 100644
--- a/azalea-client/src/raw_connection.rs
+++ b/azalea-client/src/raw_connection.rs
@@ -22,7 +22,6 @@ pub struct RawConnection {
writer: RawConnectionWriter,
/// Packets sent to this will be sent to the server.
-
/// A task that reads packets from the server. The client is disconnected
/// when this task ends.
read_packets_task: tokio::task::JoinHandle<()>,