macro_rules! unwrap {
($val:expr, $msg:expr$(,)?) => { ... };
}Expand description
Unwrap an Option<T> in a const context.
If it fails, panics with the given message.
macro_rules! unwrap {
($val:expr, $msg:expr$(,)?) => { ... };
}Unwrap an Option<T> in a const context.
If it fails, panics with the given message.