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 2979c18 commit fbbeb28Copy full SHA for fbbeb28
src/lib.rs
@@ -47,7 +47,7 @@
47
//!
48
//! ```rust
49
//! # #[cfg(all(feature = "global-context", feature = "hashes", feature = "rand", feature = "std"))] {
50
-//! use secp256k1::{generate_keypair, Message};
+//! use secp256k1::{rand, generate_keypair, Message};
51
//! use secp256k1::hashes::{sha256, Hash};
52
53
//! let (secret_key, public_key) = generate_keypair(&mut rand::thread_rng());
0 commit comments