macro_rules! assert_some { ( $x:expr ) => { ... }; }
Assert that an Option is Some
Option
Some
If the provided expresion evaulates to Some, then the macro returns the value contained within the Some. If the Option is None then the macro will panic with a message that includes the expression
None
panic