Macro near_primitives::unwrap_option_or_return [−][src]
macro_rules! unwrap_option_or_return {
($obj : expr, $ret : expr) => { ... };
($obj : expr) => { ... };
}
Expand description
Macro to either return value if the result is Some, or exit function.