From 7eceb186ace0db65043aa0cc1acfc0f6d34e55ab Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 11 Nov 2021 13:41:57 +1100 Subject: [PATCH] Fix typo in docs --- src/key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key.rs b/src/key.rs index 132e1208c..b5c5f3c03 100644 --- a/src/key.rs +++ b/src/key.rs @@ -297,7 +297,7 @@ impl PublicKey { } } - /// Creates a new compressed public key key using data from BIP-340 [`KeyPair`] + /// Creates a new compressed public key using data from BIP-340 [`KeyPair`]. #[inline] pub fn from_keypair(keypair: &KeyPair) -> Self { unsafe {