The distinct set of class names (for the failure summary).
(classes: &[CensusClass])
| 364 | |
| 365 | /// The distinct set of class names (for the failure summary). |
| 366 | pub(crate) fn failed_class_names(classes: &[CensusClass]) -> Vec<&'static str> { |
| 367 | classes |
| 368 | .iter() |
| 369 | .filter(|class| !class.clean) |
| 370 | .map(|class| class.name) |
| 371 | .collect() |
| 372 | } |
| 373 | |
| 374 | /// Names referenced for reporting completeness in callers. |
| 375 | pub(crate) fn census_class_names() -> BTreeSet<&'static str> { |