Function similar::algorithms::diff_slices

source ยท
pub fn diff_slices<D, T>(
    alg: Algorithm,
    d: &mut D,
    old: &[T],
    new: &[T],
) -> Result<(), D::Error>
where D: DiffHook, T: Eq + Hash + Ord,
Expand description

Shortcut for diffing slices with a specific algorithm.