Macro unwrap_res_or

Source
macro_rules! unwrap_res_or {
    ($e:expr, |$($pati:pat)?| $v:expr) => { ... };
    ($e:expr, $v:expr) => { ... };
}
👎Deprecated since 0.2.1: Use konst::result::unwrap_or, or konst::result::unwrap_or_else instead
Expand description

For unwrapping Results in const contexts, with a default value when it’s an error.