Linked list in rust

how to make a simple linked list in rust lwithout using any external or internal library
like in c

There are plenty of ways to do that, although writing a manual C-style data structure is one of the things Rust is actually not very good for. What paths have you attempted thus far, and why did they not work?

Linked lists aren't so simple in Rust, but this tutorial may help you understand why:
https://rust-unofficial.github.io/too-many-lists/

5 Likes