extern_spec_std_option_T_Option_T_expect

Function extern_spec_std_option_T_Option_T_expect 

Source
pub fn extern_spec_std_option_T_Option_T_expect<T>(
    self_: Option<T>,
    msg: &str,
) -> T
Expand description

extern spec for ::std::option::Option<T>::expect

This is not a real function: its only use is for documentation.

terminates

ghost

requires

self != None

ensures

Some(result) == self