Fix: clippy

This commit is contained in:
Snowiiii
2024-10-13 18:59:20 +02:00
parent 018ee7c583
commit acc5aca0ff

View File

@@ -384,7 +384,7 @@ impl Client {
}
}
if received_data.len() != 0 {
if !received_data.is_empty() {
let mut dec = self.dec.lock();
dec.queue_slice(&received_data);
match dec.decode() {