A comparison of Rust's borrow checker to the one in C#
A comparison of Rust's borrow checker to the one in C#
It’s 100% not a borrow checker. Bit the author acknowledges that.
It’s just checking the scopes the variables are defined in in the first example.