Skip to content

Commit

Permalink
Merge pull request #55 from DAmNRelentless/patch-1
Browse files Browse the repository at this point in the history
Use a dice instead of death
  • Loading branch information
dhardy committed Oct 28, 2022
2 parents 3e38c70 + 514018e commit 3e034c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() {
println!("y is: {}", y);
}
println!("Die roll: {}", rng.gen_range(1..=6));
println!("Dice roll: {}", rng.gen_range(1..=6));
println!("Number from 0 to 9: {}", rng.gen_range(0..10));
// Sometimes it's useful to use distributions directly:
Expand Down

0 comments on commit 3e034c0

Please sign in to comment.