3 ms·
Interesting. However, in main(), the variable `y` can no longer be referenced, since it would fail the borrow checker. Doesn't that effectively mean that it is
by azth 12y ago
Interesting. However, in main(), the variable `y` can no longer be referenced, since it would fail the borrow checker. Doesn't that effectively mean that it is immutable, as it won't be referenced any longer?
- xiaq 12y agoI would say it's a proof that mutability is overcomplicated if you have to define it in such ways...