Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unrealhoang
19 days ago
|
parent
|
context
|
favorite
| on:
John Carmack on mutable variables
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.
teo_zero
19 days ago
[–]
No if you're allowed to only get an immutable reference from an immutable variable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: