mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 23:36:30 +00: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