Skip to content

Commit

Permalink
Impl Clone for ThreadRng (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsko authored Mar 29, 2024
1 parent 1874b06 commit 623c3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub mod rngs {
/// unlike in the `rand` crate, this RNG is not *actually* thread-local --- all threads share a
/// single RNG. This RNG is automatically seeded by Shuttle, and cannot be re-seeded, so this
/// sharing should be indistinguishable from truly thread-local behavior.
#[derive(Debug, Default)]
#[derive(Debug, Default, Clone)]
pub struct ThreadRng;

impl RngCore for ThreadRng {
Expand Down

0 comments on commit 623c3b5

Please sign in to comment.