Y
Hacker News
new
|
ask
|
show
|
jobs
by
nicoburns
1263 days ago
The function isn’t borrowing the reference. It’s using the reference to borrow the value thats being pointed to by the reference.
1 comments
legerdemain
1263 days ago
I was looking for the word "reborrowing," which I think is crucial for beginners trying to form an effective mental model of Rust semantics.
link