Skip to content

Commit

Permalink
Fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Oct 13, 2024
1 parent 018ee7c commit acc5aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit acc5aca

Please sign in to comment.