1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-11-29 22:47:43 +02:00

docs(exercises): updated all exercises readme files

all exercises readme files now have a unified structure and a description
This commit is contained in:
Zerotask
2021-04-23 19:54:31 +02:00
parent 54804e344d
commit 249ad44cc0
20 changed files with 85 additions and 54 deletions

View File

@@ -1,7 +1,9 @@
### Variables
# Variables
Here you'll learn about simple variables.
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.
You can make them mutable by adding mut in front of the variable name.
#### Book Sections
## Further information
- [Variables and Mutability](https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html)