diff --git a/ot/mpz-ot-core/src/kos/msgs.rs b/ot/mpz-ot-core/src/kos/msgs.rs index 5fd96223..7ee1bc13 100644 --- a/ot/mpz-ot-core/src/kos/msgs.rs +++ b/ot/mpz-ot-core/src/kos/msgs.rs @@ -69,7 +69,7 @@ impl Iterator for ExtendChunks { fn next(&mut self) -> Option { if self.us.len() == 0 { - return None; + None } else { Some(Extend { us: self.us.by_ref().take(self.chunk_size).collect::>(),