DEV Community

Discussion on: Implementing Linked List in Rust

vteremasov profile image

Nice article.
By the way instead of creating custom enum "address" Option could be used I think

felixfaisal profile image
felixfaisal Author

Yeah. I've mentioned it that we could use Option as well. I felt comfortable with enum as a beginner but using an option instead is more rustic I believe.