Simple doc fix for `from_secret_key`

This commit is contained in:
Dawid Ciężarkiewicz 2018-08-09 15:41:48 -07:00
parent 45c699f005
commit 1646a80f77
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ pub struct Privkey {
} }
impl Privkey { impl Privkey {
/// Creates an address from a public key /// Creates a `Privkey` from a raw secp256k1 secret key
#[inline] #[inline]
pub fn from_secret_key(key: SecretKey, compressed: bool, network: Network) -> Privkey { pub fn from_secret_key(key: SecretKey, compressed: bool, network: Network) -> Privkey {
Privkey { Privkey {