Function format_items_with_cap

Source
pub fn format_items_with_cap<I, J, T>(items: I) -> String
where I: IntoIterator<Item = T, IntoIter = J>, J: ExactSizeIterator<Item = T>, T: Debug,
Expand description

Format a list of items with a cap on display count for error messages