Skip to content

Commit

Permalink
Number typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon committed Aug 19, 2022
1 parent 6dbd58b commit 0e3e975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ fn main() {

So it's almost like saying `let my_number = { 100 };`.

Also note that `my_number` is not `mut`. We didn't give it a value until we gave it 50, so it never changed its value. In the end, the real code for `my_number` is just `let my_number = 100;`.
Also note that `my_number` is not `mut`. It didn't get a value until it got 100, so it never changed its value. In the end, the real code for `my_number` is just `let my_number = 100;`.

## Collection types

Expand Down

0 comments on commit 0e3e975

Please sign in to comment.