pub fn unified_diff(old: &str, new: &str, context: usize) -> UnifiedDiffExpand description
Compute a unified diff between old and new (as whole strings). Uses a
longest-common-subsequence algorithm over lines; context is the number of unchanged
lines to keep around each change (0 = minimal diff).