Open utterances-bot opened 1 year ago
Shadowing and temporary mutability are small language fundamentals that make your code more robust and correct. They also make learning Rust fun.
https://www.thorsten-hans.com/shadowing-temporary-mutability-rust/
let mut age = 30; // age is mutable let age = age; // age is immutable by shadowig
This is golden!
Shadowing and Temporary Mutability in Rust · Thorsten Hans' blog
Shadowing and temporary mutability are small language fundamentals that make your code more robust and correct. They also make learning Rust fun.
https://www.thorsten-hans.com/shadowing-temporary-mutability-rust/