summaryrefslogtreecommitdiff
path: root/examples/introduction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/introduction.rs')
-rw-r--r--examples/introduction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/introduction.rs b/examples/introduction.rs
index 10e7a8b..bf4c508 100644
--- a/examples/introduction.rs
+++ b/examples/introduction.rs
@@ -101,7 +101,7 @@ fn main() {
"user_ids[3]=4",
];
- let mut rng = rand::thread_rng();
+ let mut rng = rand::rng();
for _ in 0..10 {
let mut acc = String::new();
inputs.shuffle(&mut rng);