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