Constructing Linked List in Rust from head to tail without unwrap
It is said that unwrap is unsafe and it should be avoided if possible.
While I was constructing a linked list, I found an unwrap inevitable.
Delete nodes in singly linked list in Rust (Two implementation
I have two implementation for removal function. Method 1 does not work because the compiler said curr
is borrowed.