diff options
| author | Zerotask <Zerotask@users.noreply.github.com> | 2021-04-23 19:54:31 +0200 |
|---|---|---|
| committer | Zerotask <Zerotask@users.noreply.github.com> | 2021-04-23 19:54:31 +0200 |
| commit | 249ad44cc03974fd34708c23d9832b1729c6e844 (patch) | |
| tree | db25c5f51d76d10bc129dbcc8df2c56c75b13f2b /exercises/variables | |
| parent | 54804e344d84bb620447b7975a5b8ec4f9de2671 (diff) | |
docs(exercises): updated all exercises readme files
all exercises readme files now have a unified structure and a description
Diffstat (limited to 'exercises/variables')
| -rw-r--r-- | exercises/variables/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/exercises/variables/README.md b/exercises/variables/README.md index 1e2eb59..11a7a78 100644 --- a/exercises/variables/README.md +++ b/exercises/variables/README.md @@ -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) |
