pub fn separated<'a, I>(separator: &'a str, iter: I) -> impl Display + 'a where
    I: IntoIterator,
    I::IntoIter: Clone + 'a,
    I::Item: Display + 'a, 
Expand description

Creates a type whose fmt::Display implementation outputs each item in iter separated by separator.