Skip to content

Commit 962b132

Browse files
author
Oliver Schneider
committed
Rollup merge of #25715 - nero-luci:patch-1, r=steveklabnik
I consider that this version has a better reading fluency, instead of having a period between clauses
2 parents 0b70f27 + 18dfa80 commit 962b132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/guessing-game.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ When we wrote `let guess = String::new()`, Rust was able to infer that `guess`
637637
should be a `String`, and so it doesn’t make us write out the type. And with
638638
our `secret_number`, there are a number of types which can have a value
639639
between one and a hundred: `i32`, a thirty-two-bit number, or `u32`, an
640-
unsigned thirty-two-bit number, or `i64`, a sixty-four-bit number. Or others.
640+
unsigned thirty-two-bit number, or `i64`, a sixty-four-bit number or others.
641641
So far, that hasn’t mattered, and so Rust defaults to an `i32`. However, here,
642642
Rust doesn’t know how to compare the `guess` and the `secret_number`. They
643643
need to be the same type. Ultimately, we want to convert the `String` we

0 commit comments

Comments
 (0)