From ed94e466dbca44f357deac44226b3268019c11c9 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 16 Aug 2016 17:08:45 -0400 Subject: [PATCH] Lines that start with a number and a period are becoming
    s I think this is a bug in the markdown implementation; I would expect this to only happen if there was an empty line before the line starting with "#.". Will report, but I just reworded it so the numbers don't land that way for now. --- src/ch02-00-guessing-game-tutorial.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 4c1bdd0..41900fc 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -583,8 +583,8 @@ Please input your guess. You guessed: 5 ``` -You should get different random numbers, and they should all be between 1 and -100. Great job! +You should get different random numbers, and they should all be numbers between +1 and 100. Great job! ## Comparing Our Guesses @@ -658,8 +658,8 @@ are powerful features in Rust that will be covered in detail in Chapter XX and Chapter XX, respectively. Let's walk through an example of what would happen with our `match`. Say that -the user has guessed 50, and the randomly-generated secret number this time is -38. So when we compare 50 to 38, the `cmp()` method will return +the user has guessed 50, and the randomly-generated secret number this time +is 38. So when we compare 50 to 38, the `cmp()` method will return `Ordering::Greater`, since 50 is greater than 38. `Ordering::Greater` is the value that the `match` statement gets. It looks at the first arm's pattern, `Ordering::Less`, and says nope, the value we have (`Ordering::Greater`) does