From 24c928b99ac645c99d5c86d38bf75ac8dcb0e3a1 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 29 Jan 2016 17:45:03 -0500 Subject: [PATCH] Fix number of methods in guessing game This code was refactored, but the words were not Fixes #31284 --- src/doc/book/guessing-game.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/book/guessing-game.md b/src/doc/book/guessing-game.md index 80aca56bd1e9f..861ef6810f54a 100644 --- a/src/doc/book/guessing-game.md +++ b/src/doc/book/guessing-game.md @@ -279,7 +279,7 @@ displaying the message. [expect]: ../std/option/enum.Option.html#method.expect [panic]: error-handling.html -If we leave off calling these two methods, our program will compile, but +If we leave off calling this method, our program will compile, but we’ll get a warning: ```bash @@ -680,7 +680,7 @@ fn main() { } ``` -The new three lines: +The new two lines: ```rust,ignore let guess: u32 = guess.trim().parse()