Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
unrealhoang
· 1y ago · 0 comments
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.
Comments
[–]
teo_zero
1y ago
No if you're allowed to only get an immutable reference from an immutable variable.