rustlings

solving rustlings ft. dracuxan
git clone [email protected]:dracuxan/rustlings.git
Log | Files | Refs

README.md (347B)


      1 # Variables
      2 
      3 In Rust, variables are immutable by default.
      4 When a variable is immutable, once a value is bound to a name, you can't change that value.
      5 You can make them mutable by adding `mut` in front of the variable name.
      6 
      7 ## Further information
      8 
      9 - [Variables and Mutability](https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html)