From 1c3afe85eb6936b383ef0daf2da4509abc7e6c62 Mon Sep 17 00:00:00 2001 From: Peter van Nostrand Date: Thu, 21 Jun 2018 13:06:48 -0400 Subject: [PATCH] Fix formatting. --- mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.