Function tail_cycle

Source
pub fn tail_cycle<T>(data: &[T]) -> (usize, usize)
where T: Eq,