mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Avoid using deprecated import path for rand::rngs::OsRng.
This commit is contained in:
parent
486f23f1ad
commit
4ee77b915e
2 changed files with 2 additions and 2 deletions
|
|
@ -1083,7 +1083,7 @@ impl Keypair {
|
|||
/// # fn main() {
|
||||
///
|
||||
/// use rand::Rng;
|
||||
/// use rand::OsRng;
|
||||
/// use rand::rngs::OsRng;
|
||||
/// use ed25519_dalek::Keypair;
|
||||
/// use ed25519_dalek::Signature;
|
||||
///
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
//! # #[cfg(feature = "std")]
|
||||
//! # fn main() {
|
||||
//! use rand::Rng;
|
||||
//! use rand::OsRng;
|
||||
//! use rand::rngs::OsRng;
|
||||
//! use ed25519_dalek::Keypair;
|
||||
//! use ed25519_dalek::Signature;
|
||||
//!
|
||||
|
|
|
|||
Loading…
Reference in a new issue