pub fn separated<'a, I>(separator: &'a str, iter: I) -> impl Display + 'awhere I: IntoIterator, I::IntoIter: Clone + 'a, I::Item: Display + 'a,
Creates a type whose fmt::Display implementation outputs each item in iter separated by separator.
fmt::Display
iter
separator