Skip to main content

diff

Function diff 

Source
pub fn diff(old: &str, new: &str) -> String
Expand description

The lines of old and new, each marked: both have it, - only old, + only new (a longest common subsequence).