diff --git a/bls12_381/src/pairings.rs b/bls12_381/src/pairings.rs index d2e65d0d0..08e792053 100644 --- a/bls12_381/src/pairings.rs +++ b/bls12_381/src/pairings.rs @@ -311,15 +311,9 @@ impl From for G2Prepared { let coeffs = addition_step(&mut self.cur, &self.base); self.coeffs.push(coeffs); } - fn square_output(_: Self::Output) -> Self::Output { - () - } - fn conjugate(_: Self::Output) -> Self::Output { - () - } - fn one() -> Self::Output { - () - } + fn square_output(_: Self::Output) -> Self::Output {} + fn conjugate(_: Self::Output) -> Self::Output {} + fn one() -> Self::Output {} } let is_identity = q.is_identity();