Skip to main content

separate

Function separate 

Source
pub const fn separate<'f, 's, Item, F, W>(
    sep: &'s str,
    t: F,
) -> impl FnOnce(W) -> Result + 's
where Item: FnMut(&mut W) -> Result, F: FnMut() -> Option<Item> + 's, W: Write,
Expand description

Separates the items yielded by iterating the provided function