News for hackers. Stuff that matters.
Re:Where Everything Went Wrong: Error Handling and Error Mes... by EugeneOZ on Friday February 19, 2021 @05:05AM (#26191386)
Try methods "is_err", "is_ok"; or for Option: "is_some", "is_none".
Re:Where Everything Went Wrong: Error Handling and Error Mes... by duckerude on Friday February 19, 2021 @05:15AM (#26191434)
That's not great if you still want to use the underlying value, because then you need to unwrap it later.