done chapter2

This commit is contained in:
Tyrel Souza 2023-02-25 00:45:53 -05:00
parent 76e0c04081
commit 9d23dc5e83
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
1 changed files with 0 additions and 1 deletions

View File

@ -5,7 +5,6 @@ use std::io;
fn main() {
println!("Guess the number!");
let secret_number = rand::thread_rng().gen_range(1..=100);
println!("psst. the secret number is {secret_number}");
loop {
println!("Please input your guess.");
let mut guess = String::new();