Function shortest_edit_script

Source
pub fn shortest_edit_script<'a>(
    source: &'a str,
    target: &'a str,
    prefix: bool,
    generic: bool,
    allow_substitutions: bool,
) -> EditScript<&'a str>
Expand description

Compute the shorted edit script (Myers’ diff) between source and target Returns an edit script with borrowed references to the original source