became_fish , ![]()
is there a way out of this pattern in #rust:
let val = some_function(); if val.is_none() { return Ok(...); } let val = val.unwrap();
that doesn't involve a bunch of nested match statements?
became_fish , ![]()
is there a way out of this pattern in #rust:
let val = some_function(); if val.is_none() { return Ok(...); } let val = val.unwrap();
that doesn't involve a bunch of nested match statements?