You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One question I have is whether we should retain the name of freeze.md at all-- I'd lean towards not doing so and calling it something like shadowing_and_mutability.md instead?
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.
The text was updated successfully, but these errors were encountered: