Skip to main content

count_changes

Function count_changes 

Source
pub fn count_changes(old_content: &str, new_content: &str) -> (usize, usize)
Expand description

Count insertions and deletions between two strings.

Returns (insertions, deletions).