Result and Option (Error Handling)
Welcome back! In Chapter 6: Enums, we learned about enums and how they can be used to represent different states. This chapter is all about how Rust helps you handle errors, using two special enums: Result and Option.
Imagine you're making a sandwich...
tusharpamnani7.hashnode.dev7 min read