mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-18 09:25:36 +00:00
Merge pull request #1445 from guoard/patch-1
docs(variables): wrap mut keyword with backtick
This commit is contained in:
commit
92f09dbe81
@ -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 New Issue
Block a user