Skip to main content

pick

Function pick 

Source
fn pick(lines: Vec<String>, filter: &Filter, n: usize) -> (Vec<String>, usize)
Expand description

The last n of the lines that pass filter, and how many passed. The filter comes first, then the cut: so “the last 100 warnings that mention store” is the last 100 of the warnings, not the warnings among the last 100.