pub fn diff(
source: &str,
path: &Path,
edits: &[(Range<usize>, String)],
) -> StringExpand description
Compute a unified-diff-style display of planned edits.
Each edit is shown with its surrounding context (the line containing the edit).