You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rustlings/exercises/01_variables
Adam Brewer 64d95837e9 Update Exercises Directory Names to Reflect Order 11 months ago
..
README.md Update Exercises Directory Names to Reflect Order 11 months ago
variables1.rs Update Exercises Directory Names to Reflect Order 11 months ago
variables2.rs Update Exercises Directory Names to Reflect Order 11 months ago
variables3.rs Update Exercises Directory Names to Reflect Order 11 months ago
variables4.rs Update Exercises Directory Names to Reflect Order 11 months ago
variables5.rs Update Exercises Directory Names to Reflect Order 11 months ago
variables6.rs Update Exercises Directory Names to Reflect Order 11 months ago

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