about summary refs log tree commit diff
diff options
context:
space:
mode:
authorらいどっと <ryogo.yoshimura@gmail.com>2015-05-07 01:58:55 +0900
committerらいどっと <ryogo.yoshimura@gmail.com>2015-05-07 01:58:55 +0900
commit08923fbff2d024d9b97847bf482678fcc5d9e15d (patch)
treec91e833953eb4eee6512ab6a8338c06fdee07471
parent5a83fa271d9ea85bca163c26dc8896ac394976e4 (diff)
doc: Fix remove unused variable
This commit depends on #25148.
-rw-r--r--src/doc/trpl/guessing-game.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md
index 431b7dc50a2..586e36585d7 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");