Function candid::pretty::concat[][src]

pub fn concat<'a, D>(docs: D, sep: &'a str) -> RcDoc<'a> where
    D: Iterator<Item = RcDoc<'a>> + Clone
Expand description

Append the separator to each docs items. If it is displayed in a single line, omit the last separator.