Function similar::capture_diff_slices[][src]

pub fn capture_diff_slices<T>(
    alg: Algorithm,
    old: &[T],
    new: &[T]
) -> Vec<DiffOp> where
    T: Eq + Hash + Ord

Creates a diff between old and new with the given algorithm capturing the ops.