Function join_to_string::join

source ·
pub fn join<I: Iterator>(items: I) -> JoinBuilder<'static, I>
Expand description

Joins an interable of fmt::Display items to stirng. Returns a builder struct to specify custom prefix (defaults to ""), suffix (defaults to ""), separator (defaults to ", "), and destination (either a fresh String, or an existing &mut String buffer).