Y
Hacker News
new
|
ask
|
show
|
jobs
by
unrealhoang
237 days ago
Without a borrowck, inside your mutable block, another variable can reference to the mutable version of your x or items, and be mutated outside of that block.
1 comments
teo_zero
237 days ago
No if you're allowed to only get an immutable reference from an immutable variable.
link