From b283f0001253adc47235a4f67780679bb7f7639a Mon Sep 17 00:00:00 2001 From: sinu <65924192+sinui0@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:49:31 -0800 Subject: [PATCH] clippy --- ot/mpz-ot-core/src/kos/msgs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::>(),