3 ms·
> In Rust even a basic double linked list requires unsafe. Well this just isn't true. You can write a doubly linked list using Rc and Weak pointers and no unsa
by tatterdemalion 10y ago
> In Rust even a basic double linked list requires unsafe.
Well this just isn't true. You can write a doubly linked list using Rc and Weak pointers and no unsafe code. This is the same as saying you can write a doubly linked list using GC'd pointers.