Skip to main content

run_report

Function run_report 

Source
pub fn run_report<'a, I>(snapshots: I, config: &Config) -> RunReport
where I: IntoIterator<Item = &'a PlumbSnapshot>,
Expand description

Like run_many but returns a RunReport partitioning the violation set into reported vs. ignored according to config.ignore.

§Determinism

Same invariants as run_many. Both vectors in the returned report are sorted by Violation::sort_key; iteration over config.ignore is in declaration order (it’s a Vec).