too-many-lists/deque/layout #1203
Replies: 2 comments 4 replies
-
old_head.borrow_mut().prev = Some(new_head.clone()); |
Beta Was this translation helpful? Give feedback.
2 replies
-
pop_front 函数中 new_head.borrow_mut().prev.take(); 和self.tail.take(); 的意义是什么呢?没有看明白 |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
too-many-lists/deque/layout
https://course.rs/too-many-lists/deque/layout.html
Beta Was this translation helpful? Give feedback.
All reactions