From 86cd2f54d7d5b907d3c1eaf512825cc0fdc00e43 Mon Sep 17 00:00:00 2001 From: Ian Goldberg Date: Mon, 3 May 2021 14:14:17 -0400 Subject: [PATCH] More Rust cleanups --- crates/lox-library/src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/lox-library/src/lib.rs b/crates/lox-library/src/lib.rs index 8b3e7d5..27506f0 100644 --- a/crates/lox-library/src/lib.rs +++ b/crates/lox-library/src/lib.rs @@ -296,7 +296,7 @@ impl BridgeAuth { + cred.invites_issued * self.lox_priv.x[6]) * cred.P; - return Q == cred.Q; + Q == cred.Q } #[cfg(test)] @@ -311,7 +311,8 @@ impl BridgeAuth { + cred.from_bucket * self.migration_priv.x[2] + cred.to_bucket * self.migration_priv.x[3]) * cred.P; - return Q == cred.Q; + + Q == cred.Q } #[cfg(test)] @@ -325,7 +326,8 @@ impl BridgeAuth { + cred.date * self.reachability_priv.x[1] + cred.bucket * self.reachability_priv.x[2]) * cred.P; - return Q == cred.Q; + + Q == cred.Q } }