Skip to content

Commit e9c799c

Browse files
committed
Remove Clone for StdRng
1 parent 5d07c2d commit e9c799c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rngs/std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use chacha20::ChaCha12Rng as Rng;
6666
/// [CSPRNG]: https://rust-random.github.io/book/guide-gen.html#cryptographically-secure-pseudo-random-number-generator
6767
/// [rand_chacha]: https://crates.io/crates/rand_chacha
6868
/// [rand issue]: https://github.com/rust-random/rand/issues/932
69-
#[derive(Clone, Debug, PartialEq, Eq)]
69+
#[derive(Debug, PartialEq, Eq)]
7070
pub struct StdRng(Rng);
7171

7272
impl RngCore for StdRng {

0 commit comments

Comments
 (0)