pub fn chain_one<A: IntoIterator>(a: A, b: A::Item) -> ChainOne<A::IntoIter> ⓘ
Expand description
Chain a single item to an iterator. The resulting iterator first iterates over a
,
then b
. The resulting iterator is marked as #[inline(always)]
, which in some situations
causes better inlining behavior with current Rust versions.