Skip to main content

extern_spec_T_Iterator_IterMut_T_next

Function extern_spec_T_Iterator_IterMut_T_next 

Source
pub fn extern_spec_T_Iterator_IterMut_T_next<'a, T>(
    self_: &mut IterMut<'a, T>,
) -> Option<&'a mut T>
Expand description

extern spec for IterMut<'a, T>::next

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

ghost

ensures

match result {
    None => self.completed(),
    Some(v) => (*self).produces(Seq::singleton(v), ^self)
}