diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index eb80bd85a5..b199cdbcde 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -694,7 +694,9 @@ newline character is added to the string. For example, if the user types 5 and presses enter, `guess` looks like this: `5\n`. The `\n` represents “newline,” the result of pressing enter. The `trim` method eliminates -`\n`, resulting in just `5`. +`\n`, resulting in just `5`. (Unlike on Linux, pressing +enter on Microsoft Windows produces `\r\n`, +both of which characters are removed with `trim`.) The [`parse` method on strings][parse] parses a string into some kind of number. Because this method can parse a variety of number types, we