mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
Merge pull request #1445 from guoard/patch-1
docs(variables): wrap mut keyword with backtick
This commit is contained in:
commit
92f09dbe81
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
In Rust, variables are immutable by default.
|
In Rust, variables are immutable by default.
|
||||||
When a variable is immutable, once a value is bound to a name, you can’t change that value.
|
When a variable is immutable, once a value is bound to a name, you can’t change that value.
|
||||||
You can make them mutable by adding mut in front of the variable name.
|
You can make them mutable by adding `mut` in front of the variable name.
|
||||||
|
|
||||||
## Further information
|
## Further information
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue