From e6cd300b55b21f8f27819a123d706cfe7760eba0 Mon Sep 17 00:00:00 2001 From: Xiang Xie Date: Sun, 15 Oct 2023 17:24:23 +0800 Subject: [PATCH] clippy --- ot/mpz-ot-core/src/ferret/spcot/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ot/mpz-ot-core/src/ferret/spcot/mod.rs b/ot/mpz-ot-core/src/ferret/spcot/mod.rs index e3f554fc..31353b13 100644 --- a/ot/mpz-ot-core/src/ferret/spcot/mod.rs +++ b/ot/mpz-ot-core/src/ferret/spcot/mod.rs @@ -38,7 +38,7 @@ mod tests { let msg_from_sender = sender.extend(h, msg_for_sender, maskbits).unwrap(); - let _ = receiver + receiver .extend(h, alpha, msg_for_receiver, msg_from_sender) .unwrap(); @@ -53,7 +53,7 @@ mod tests { .check(h, msg_for_sender, check_from_receiver) .unwrap(); - let _ = receiver.check(msg_for_receiver, check).unwrap(); + receiver.check(msg_for_receiver, check).unwrap(); sender.state.vs[alpha] ^= sender.state.delta; assert_eq!(sender.state.vs, receiver.state.ws);