Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sinui0 committed Feb 9, 2024
1 parent 1b85f2c commit b283f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ot/mpz-ot-core/src/kos/msgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Iterator for ExtendChunks {

fn next(&mut self) -> Option<Self::Item> {
if self.us.len() == 0 {
return None;
None
} else {
Some(Extend {
us: self.us.by_ref().take(self.chunk_size).collect::<Vec<_>>(),
Expand Down

0 comments on commit b283f00

Please sign in to comment.