Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
2077 days ago
Rust's
ownership
system would prevent example 5 from working (because you have to move the instance into the set).
The borrow checker is about validating that references don't outlive their target, and R^W.
1 comments
nyanpasu64
2077 days ago
Oops.
link