2 ms·
Linked lists aren’t just possible in Rust, they are in the standard library. They are just an example of the borrow checker’s limitations, which mean that you
by simonask 1y ago
Linked lists aren’t just possible in Rust, they are in the standard library.
They are just an example of the borrow checker’s limitations, which mean that you can only form a DAG of mutable references. But that’s why we have `unsafe`.