
Rust
Variables and Mutability in Rust Explained With Examples
Rust variables are immutable by default. Learn let, let mut, shadowing, constants and the compiler messages you will meet when you change a value you did not mark.
7 min read
Tag
1 post

Rust variables are immutable by default. Learn let, let mut, shadowing, constants and the compiler messages you will meet when you change a value you did not mark.