DEV Community

Discussion on: Implementing Linked List in Rust

Collapse
vteremasov profile image
ντξrξμαsον

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

Collapse
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.