Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nicoburns
3y ago
0 comments
Share
The function isn’t borrowing the reference. It’s using the reference to borrow the value thats being pointed to by the reference.
0 comments
default
newest
oldest
legerdemain
3y 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.
j
/
k
navigate · click thread line to collapse