armanriazirustefactorflowcontrolmatchunwrap_or_else
unwrap_or_else method in the standard library documentation. Many more of these methods can clean up huge nested match expressions when you’re dealing with errors.
ArmanRiazi