Immutable Variables
Overview
Rust variables are immutable by default. Once a value is bound to a name, reassigning it is not allowed unless the binding is marked mutable with mut.
This default helps prevent accidental state changes and makes code easier to reason about, because the compiler enforces when values can and cannot change.
Official Rust Book: Variables and Mutability