Skip to main content

replace_lines

Function replace_lines 

Source
pub fn replace_lines(
    text: &str,
    drop: impl Fn(&str) -> bool,
    added: Vec<String>,
    now: &Zoned,
) -> Result<String, String>
Expand description

The main VTODO’s lines that drop takes replaced by added, in one change: the stamps written once.