Shadowing vs Freezing
block0xhash opened this issue · 0 comments
block0xhash commented
This example on Freezing should possibly be updated and moved to section 4.2 that talks of shadowing.
https://doc.rust-lang.org/stable/rust-by-example/variable_bindings/freeze.html
There is no "data freezing" going on based on the mutability state of the variables.
however as explained here #1516 its variable shadowing.