Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ddragana committed Sep 28, 2020
1 parent a1b6beb commit 8959e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neqo-transport/src/recv_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl RxStreamOrderer {
self.data_ranges.remove(&start);
}

if new_data.len() > 0 {
if !new_data.is_empty() {
self.data_ranges.insert(new_start, new_data);
}
};
Expand Down

0 comments on commit 8959e81

Please sign in to comment.