pub fn apply(text: &str, edits: &[(Span, String)]) -> StringExpand description
The text with edits (sorted, non-overlapping) applied. An edit whose
span isn’t a valid range of text, or that overlaps the one before it, is
skipped rather than panicking.