Function similar::algorithms::diff_slices_deadline

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

Shortcut for diffing slices with a specific algorithm.