Fix wrapping

This commit is contained in:
Carol (Nichols || Goulding)
2021-03-05 14:03:22 -05:00
parent bcd40eb12d
commit fc2f690fc1

View File

@@ -129,11 +129,10 @@ hardcoded value needed to be updated in the future.
As you saw in the guessing game tutorial in the [“Comparing the Guess to the
Secret Number”][comparing-the-guess-to-the-secret-number]<!-- ignore -->
section in Chapter 2, you can declare a new variable with the same name as a
previous variable.
Rustaceans say that the first variable is *shadowed* by the second, which means
that the second variables value is what appears when the variable is used. We
can shadow a variable by using the same variables name and repeating the use
of the `let` keyword as follows:
previous variable. Rustaceans say that the first variable is *shadowed* by the
second, which means that the second variables value is what appears when the
variable is used. We can shadow a variable by using the same variables name
and repeating the use of the `let` keyword as follows:
<span class="filename">Filename: src/main.rs</span>