Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
FreeFull
on May 7, 2014
|
parent
|
context
|
favorite
| on:
Rust for C++ programmers – part 5: borrowed refere...
That actually lets you change what y points at, but you can't mutate x through y. If you want to mutate x, you need something like
let y = &mut x;
which will result in an error due to x not being mutable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: