Skip to content

Commit 874d9a2

Browse files
authored
Merge pull request #3895 from rust-lang/chriskrycho/vhb
Ch. 2: less ambiguity about numbers
2 parents f9d4e05 + 523d960 commit 874d9a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ch02-00-guessing-game-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ elsewhere that would cause Rust to infer a different numerical type. The reason
654654
for the error is that Rust cannot compare a string and a number type.
655655

656656
Ultimately, we want to convert the `String` the program reads as input into a
657-
real number type so we can compare it numerically to the secret number. We do
658-
so by adding this line to the `main` function body:
657+
number type so we can compare it numerically to the secret number. We do so by
658+
adding this line to the `main` function body:
659659

660660
<span class="filename">Filename: src/main.rs</span>
661661

0 commit comments

Comments
 (0)