Function keep_latest_n

Source
fn keep_latest_n(channel: &mut VecDeque<EventLog>, max_n: usize)