chain

Function chain 

Source
pub fn chain<I: IntoNonEmptyIterator, J: IntoIterator<Item = I::Item>>(
    non_empty: I,
    maybe_empty: J,
) -> Chain<I::IntoNonEmptyIter, J::IntoIter>
Expand description

Converts the given arguments to iterators and links them together.

The first argument must be IntoNonEmptyIterator, while the second one can simply implement IntoIterator yielding the same item type.