Function difft::diff::myers_diff::slice

source ·
pub(crate) fn slice<'a, T: PartialEq + Clone>(
    lhs: &'a [T],
    rhs: &'a [T]
) -> Vec<DiffResult<&'a T>>
Expand description

Compute a linear diff between lhs and rhs. This is the traditional Myer’s diff algorithm.