Skip to main content

print_text_diff

Function print_text_diff 

Source
fn print_text_diff(before: &str, after: &str)
Expand description

Word diff of two strings in git diff --word-diff style ([-removed-]{+added+}), printing only the lines that changed.