paralegal_spdg::utils

Function write_sep

Source
pub fn write_sep<E, I: IntoIterator<Item = E>, F: FnMut(E, &mut Formatter<'_>) -> Result>(
    fmt: &mut Formatter<'_>,
    sep: &str,
    it: I,
    f: F,
) -> Result
Expand description

Write all elements from it into the formatter fmt using f, separating them with sep