Skip to main content

extern_spec_T_Option_T_expect

Function extern_spec_T_Option_T_expect 

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

extern spec for Option<T>::expect

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

terminates

ghost

requires

self != None

ensures

Some(result) == self