Refactor from_secret_key definition
The `from_secret_key` method definition currently uses non-standard indentation. Improve uniformity by using 'standard' indentation.
This commit is contained in:
parent
e2d47a29e2
commit
3ecb5e41b3
|
@ -338,9 +338,7 @@ impl PublicKey {
|
|||
/// # }
|
||||
/// ```
|
||||
#[inline]
|
||||
pub fn from_secret_key<C: Signing>(secp: &Secp256k1<C>,
|
||||
sk: &SecretKey)
|
||||
-> PublicKey {
|
||||
pub fn from_secret_key<C: Signing>(secp: &Secp256k1<C>,sk: &SecretKey) -> PublicKey {
|
||||
unsafe {
|
||||
let mut pk = ffi::PublicKey::new();
|
||||
// We can assume the return value because it's not possible to construct
|
||||
|
|
Loading…
Reference in New Issue