pub fn rewrite(body: &str, raw: &str, change: &Change) -> Result<String>Expand description
The body with one line changed, or an error saying why it will not be.
The line is found by its exact content, and every other line comes through byte identical. That is proved here rather than assumed: this is the only place spar rewrites something a person wrote, and a parser that mishandles a nested list does not produce a bad comment, it produces a mangled plan.