diff --git a/guessing_game/src/main.rs b/guessing_game/src/main.rs index 14ff42b..4dcb3cf 100644 --- a/guessing_game/src/main.rs +++ b/guessing_game/src/main.rs @@ -14,10 +14,7 @@ fn main() { io::stdin() .read_line(&mut guess) - .expect("Failed to read line!"); + .expect("Failed to read line!"); // Use this if truly want to error out. Use pattern matching otherwise println!("You guessed: {}", guess); - - // Ended at start of Recieving user input in ch2 - // https://rust-book.cs.brown.edu/ch02-00-guessing-game-tutorial.html#receiving-user-input }