Skip to main content

word_level_changed_ranges

Function word_level_changed_ranges 

Source
pub fn word_level_changed_ranges(
    old: &str,
    new: &str,
) -> (Vec<(usize, usize)>, Vec<(usize, usize)>)
Expand description

Computes byte-safe word-level changed ranges for a line pair.