Skip to main content

first_and_newest

Function first_and_newest 

Source
fn first_and_newest<T>(items: &[T], cap: usize) -> (Vec<&T>, usize)
Expand description

The first entry plus the newest cap - 1, and how many that leaves out.