(
paths: impl IntoIterator<Item = &'a str>,
bullet_prefix: &str,
tree_prefix: &str,
)
| 26 | } |
| 27 | |
| 28 | pub(crate) fn format_compact_path_list<'a>( |
| 29 | paths: impl IntoIterator<Item = &'a str>, |
| 30 | bullet_prefix: &str, |
| 31 | tree_prefix: &str, |
| 32 | ) -> String { |
| 33 | format_compact_annotated_path_list( |
| 34 | paths.into_iter().map(|path| (path, "")), |
| 35 | bullet_prefix, |
| 36 | tree_prefix, |
| 37 | ) |
| 38 | } |
| 39 | |
| 40 | pub(crate) fn format_compact_annotated_path_list<'a, S>( |
| 41 | paths: impl IntoIterator<Item = (&'a str, S)>, |