pub fn diff<S: Index<usize> + ?Sized, T: Index<usize> + ?Sized, D: Diff>(
d: &mut D,
e: &S,
e0: usize,
e1: usize,
f: &T,
f0: usize,
f1: usize,
) -> Result<(), D::Error>
Expand description
Myers’ diff algorithm. Diff e
, between indices e0
(included)
and e1
(excluded), on the one hand, and f
, between indices
f0
(included)and
f1` (excluded), on the other hand.