Skip to main content

diff_lines

Function diff_lines 

Source
pub fn diff_lines(left: &Document, right: &Document) -> LineDiff
Expand description

Aligns the lines of left and right. Replaced blocks are paired line by line as Changed; the extra lines of the longer side are Removed or Added.