candid::pretty::utils

Function strict_concat

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

Intersperse the separator between each item in docs.