We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 664187e commit cbe8076Copy full SHA for cbe8076
src/secret.rs
@@ -131,9 +131,8 @@ impl Keypair {
131
/// ```
132
/// # #[cfg(feature = "std")] {
133
/// # use std::str::FromStr;
134
- /// use secp256k1::{Keypair, Secp256k1, SecretKey};
+ /// use secp256k1::{Keypair, SecretKey};
135
///
136
- /// let secp = Secp256k1::new();
137
/// let key = SecretKey::from_str("0000000000000000000000000000000000000000000000000000000000000001").unwrap();
138
/// let key = Keypair::from_secret_key(&key);
139
/// // Here we explicitly display the secret value:
0 commit comments