Skip to main content

remove_original_after

Function remove_original_after 

Source
pub fn remove_original_after<R: CommandRunner + ?Sized>(
    original: &str,
    replacement: &str,
    delay_seconds: f64,
    runner: &R,
    reporter: &SnapshotReporter<'_>,
    sleep: &dyn Fn(Duration),
) -> String
Expand description

Remove the stopped original once the replacement has survived the delay. Returns the note describing what happened.