mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Fix: clippy
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user