Variable Shadowing In Rust – “Let” Is Immutable But Not Constant

Let’s take a look at some of the common pitfalls with the keywords let and mut. Then, we will learn how immutable != constant by using variable shadowing. Getting started with Rust can be daunting. Rust is well-known for being a safe language. One of the ways in which Rust is safe is through type-safety. … Read more Variable Shadowing In Rust – “Let” Is Immutable But Not Constant