Abstract


  • A list of Rust syntax that worth noting

Rust Variable


Rust: Difference between Constant and Variable

Rust: Variable Shadowing

  • Allowing us to reuse the same variable name, assign a different type of change the value (so we don’t need to think of a new variable name) of a Immutability variable (add in a degree of flexibility)
  • Works on both let and let mut, but no const
  • Refer to Rust Variable Shadowing for more details