We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 551f6e5 commit e721c32Copy full SHA for e721c32
src/lib.rs
@@ -25,7 +25,7 @@
25
#![cfg_attr(not(feature = "sha2"), doc = "```ignore")]
26
//! use rsa::{RsaPrivateKey, RsaPublicKey, Oaep, sha2::Sha256};
27
//!
28
-//! let mut rng = rand::thread_rng();
+//! let mut rng = rand::thread_rng(); // rand@0.8
29
30
//! let bits = 2048;
31
//! let private_key = RsaPrivateKey::new(&mut rng, bits).expect("failed to generate a key");
0 commit comments