pub fn extern_spec_T_E_Result_T_E_unwrap_or<T, E>(
self_: Result<T, E>,
default: T,
) -> TExpand description
extern spec for Result<T, E>::unwrap_or
This is not a real function: its only use is for documentation.
terminates
ghost
ensures
forall<t: T> self == Ok(t) ==> result == tensures
(exists<e: E> self == Err(e)) ==> result == default