Skip to main content

diff_lines

Function diff_lines 

Source
pub fn diff_lines(old: &str, new: &str) -> Vec<DiffLine>
Expand description

Computes a line-level diff of old against new using a longest-common- subsequence, returning the merged sequence of equal, inserted, and deleted lines in order.