Skip to main content

rewrite

Function rewrite 

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

The task’s text with the main VTODO’s lines that keep refuses dropped and added put in, before its alarms; the stamps written again. Nothing dropped and nothing added: the text as it was.