diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index e1c1336f07c..fe18420e880 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -82,7 +82,7 @@ fn main() { let mut guess = String::new(); - let input = io::stdin().read_line(&mut guess) + io::stdin().read_line(&mut guess) .ok() .expect("Failed to read line");