diff --git a/mod.rs b/mod.rs index 8f7f644..bac708c 100644 --- a/mod.rs +++ b/mod.rs @@ -299,11 +299,11 @@ impl SecretKeySet { /// Returns the `i`-th secret key share. pub fn secret_key_share(&self, i: T) -> ClearOnDrop>> where - T: Into<::Repr> + T: Into<::Repr>, { - ClearOnDrop::new(Box::new( - SecretKey(self.poly.evaluate(from_repr_plus_1::(i.into()))) - )) + ClearOnDrop::new(Box::new(SecretKey( + self.poly.evaluate(from_repr_plus_1::(i.into())), + ))) } /// Returns the corresponding public key set. That information can be shared publicly.