macro_rules! unwrap_some_or_return {
($expr:expr) => { ... };
}Expand description
Takes an Option and evaluates to the unwrapped Some value, or if it’s None, returns the None
to the current function’s caller.
See also unwrap_ok_or_return!.