rustlings/exercises/variables
Sangeeth Sudheer 91ab971a04
Complete problems
2024-01-20 09:55:25 +05:30
..
README.md docs(variables): wrap mut keyword with backtick 2023-03-28 09:58:59 +03:30
variables1.rs Complete problems 2024-01-20 09:55:25 +05:30
variables2.rs Complete problems 2024-01-20 09:55:25 +05:30
variables3.rs Complete problems 2024-01-20 09:55:25 +05:30
variables4.rs Complete problems 2024-01-20 09:55:25 +05:30
variables5.rs Complete problems 2024-01-20 09:55:25 +05:30
variables6.rs Complete problems 2024-01-20 09:55:25 +05:30

README.md

Variables

In Rust, variables are immutable by default. When a variable is immutable, once a value is bound to a name, you cant change that value. You can make them mutable by adding mut in front of the variable name.

Further information