macro_rules! unwrap_some {
($actual:expr) => { ... };
($actual:expr, $msg:expr) => { ... };
}Expand description
Asserts that the expression evaluates to Option::Some and returns the resulting value, otherwise short-circuits.
macro_rules! unwrap_some {
($actual:expr) => { ... };
($actual:expr, $msg:expr) => { ... };
}Asserts that the expression evaluates to Option::Some and returns the resulting value, otherwise short-circuits.