From 1646a80f77ce94b625e7860f8ade10c10b5bfbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ci=C4=99=C5=BCarkiewicz?= Date: Thu, 9 Aug 2018 15:41:48 -0700 Subject: [PATCH] Simple doc fix for `from_secret_key` --- src/util/privkey.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/privkey.rs b/src/util/privkey.rs index 7ffb8f5..52b47e4 100644 --- a/src/util/privkey.rs +++ b/src/util/privkey.rs @@ -34,7 +34,7 @@ pub struct Privkey { } impl Privkey { - /// Creates an address from a public key + /// Creates a `Privkey` from a raw secp256k1 secret key #[inline] pub fn from_secret_key(key: SecretKey, compressed: bool, network: Network) -> Privkey { Privkey {