Skip to main content

extern_spec_core_iter_Iterator_zip

Function extern_spec_core_iter_Iterator_zip 

Source
pub fn extern_spec_core_iter_Iterator_zip<Self_, U: IntoIterator>(
    self_: Self_,
    other: U,
) -> Zip<Self_, U::IntoIter> 
where Self_: Sized + ?Sized + Iterator + IteratorSpec,
Expand description

extern spec for ::core::iter::Iterator::zip<U>

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

ghost

requires

U::into_iter.precondition((other,))

ensures

self

ensures

U::into_iter.postcondition((other,), result.iter_b())