small changes
This commit is contained in:
parent
838e802f79
commit
d98abc357c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ fn main() {
|
||||||
// Generates random number between 0 and 100, thread_rng is the generator we're using
|
// Generates random number between 0 and 100, thread_rng is the generator we're using
|
||||||
let number = rand::thread_rng().gen_range(0, 101);
|
let number = rand::thread_rng().gen_range(0, 101);
|
||||||
let mut tries = 1;
|
let mut tries = 1;
|
||||||
|
|
||||||
println!("Choose a number between 0 and 100: ");
|
println!("Choose a number between 0 and 100: ");
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
|
|
Loading…
Reference in a new issue