rustlings/exercises/variables/README.md

347 B
Raw Permalink Blame History

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