Replies: 1 comment 1 reply
-
|
Do you have |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Happy Holiday to anyone who's reading this.
So, I was trying to learn rust by implementing some data structures. I wrote the following passing code and trying to understand
Rc<RefCell<T>>. I expect theold_node.borrow_mut()to return aRefMut<T>andrust-analyzerto provide 3 entries -prev,next,value. But it turns out that thevalueis not given. I wonder what's the logic behind this selection?Some extra information
Beta Was this translation helpful? Give feedback.
All reactions