From b170687515d52fd41ce7a2d1d9e582bc06e90bcc Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Sat, 4 May 2024 14:19:44 +0100 Subject: [PATCH] refactor(vrd): :memo: Update vrd crate example code, documentation and added new functions --- src/random.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/random.rs b/src/random.rs index 7e8778e..fe1571f 100644 --- a/src/random.rs +++ b/src/random.rs @@ -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