pub fn as_cursor(&self) -> Cursor<'_, T> {
        Cursor { list: self.list, current: self.current, index: self.index }
    }
Removes the current element from the `LinkedList` without deallocating the list node.

The node that was removed is returned as a new `LinkedList` containing only this node.
The cursor is moved to point to the next element in the current `LinkedList`.

If t
benchmarks/haystacks/code/rust-library.rs