Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
nicoburns
3y ago
0 comments
Save
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
1 comments · 1 top-level
top
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