cargo fmt

This commit is contained in:
Andrew Poelstra 2023-06-12 13:01:12 +00:00
parent d990084481
commit 445aa84f8c
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 3 deletions

View File

@ -254,9 +254,7 @@ impl PublicKey {
} }
impl From<PublicKey> for XOnlyPublicKey { impl From<PublicKey> for XOnlyPublicKey {
fn from(pk: PublicKey) -> XOnlyPublicKey { fn from(pk: PublicKey) -> XOnlyPublicKey { pk.inner.into() }
pk.inner.into()
}
} }
/// An opaque return type for PublicKey::to_sort_key /// An opaque return type for PublicKey::to_sort_key