Skip to content

Commit

Permalink
Merge pull request #1931 from NanXiao/patch-1
Browse files Browse the repository at this point in the history
A small typo?
  • Loading branch information
steveklabnik authored Sep 15, 2019
2 parents e7cdfe1 + 05bd3e0 commit 57d04f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch03-01-variables-and-mutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ But mutability can be very useful. Variables are immutable only by default; as
you did in Chapter 2, you can make them mutable by adding `mut` in front of the
variable name. In addition to allowing this value to change, `mut` conveys
intent to future readers of the code by indicating that other parts of the code
will be changing this variable value.
will be changing this variable's value.

For example, let’s change *src/main.rs* to the following:

Expand Down

0 comments on commit 57d04f4

Please sign in to comment.