Function candid::pretty::utils::concat

source ·
pub fn concat<'a, D>(docs: D, sep: &'a str) -> RcDoc<'a>
where D: Iterator<Item = RcDoc<'a>> + Clone,
Available on crate feature printer only.
Expand description

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