diff --git a/src/key.rs b/src/key.rs index 562f02e..45d631c 100644 --- a/src/key.rs +++ b/src/key.rs @@ -338,9 +338,7 @@ impl PublicKey { /// # } /// ``` #[inline] - pub fn from_secret_key(secp: &Secp256k1, - sk: &SecretKey) - -> PublicKey { + pub fn from_secret_key(secp: &Secp256k1,sk: &SecretKey) -> PublicKey { unsafe { let mut pk = ffi::PublicKey::new(); // We can assume the return value because it's not possible to construct