Skip to main content

diff

Function diff 

Source
pub fn diff(original: &str, proposal: &str) -> Diff
Expand description

Which words of proposal are original’s (the longest common subsequence of their words, case-insensitive) and which were added; which of original’s words were dropped. Separators follow the word before them.