From ebcce38b4fddca0b4363ff6a9723976ea801fe21 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Thu, 20 Jul 2023 17:13:15 +0000 Subject: [PATCH] run cargo fmt --- bitcoin/src/crypto/key.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bitcoin/src/crypto/key.rs b/bitcoin/src/crypto/key.rs index 50be0d27..41c541c0 100644 --- a/bitcoin/src/crypto/key.rs +++ b/bitcoin/src/crypto/key.rs @@ -265,9 +265,7 @@ impl PublicKey { } impl From for PublicKey { - fn from(pk: secp256k1::PublicKey) -> PublicKey { - PublicKey::new(pk) - } + fn from(pk: secp256k1::PublicKey) -> PublicKey { PublicKey::new(pk) } } impl From for XOnlyPublicKey {