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 2e5f65b commit b2cdc98Copy full SHA for b2cdc98
src/key/secret.rs
@@ -42,9 +42,8 @@ mod encapsulate {
42
///
43
/// ```
44
/// # #[cfg(all(feature = "rand", feature = "std"))] {
45
- /// use secp256k1::{rand, Secp256k1, SecretKey};
+ /// use secp256k1::{rand, SecretKey};
46
47
- /// let secp = Secp256k1::new();
48
/// let secret_key = SecretKey::new(&mut rand::rng());
49
/// # }
50
0 commit comments