Skip to content

Commit

Permalink
refactor(vrd): 📝 Update vrd crate example code, documentation and add…
Browse files Browse the repository at this point in the history
…ed new functions
  • Loading branch information
sebastienrousseau committed May 4, 2024
1 parent be1fd07 commit b170687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ impl Random {
mt: [0; N],
mti: N + 1,
};
let seed = thread_rng().gen();
let seed = thread_rng().r#gen();
rng.mt[0] = seed;
for i in 1..N {
rng.mt[i] = 1812433253u32
Expand Down

0 comments on commit b170687

Please sign in to comment.