
Shadowing
In Rust, shadowing allows you to declare a new variable with the same name as a previous variable. This can be useful for changing the type or value of a variable while keeping the same name. Shadowed variables are immutable by default unless explicitly marked as mutable.