strsim

Function damerau_levenshtein_impl

source
pub(crate) fn damerau_levenshtein_impl<Iter1, Iter2>(
    s1: Iter1,
    len1: usize,
    s2: Iter2,
    len2: usize,
) -> usize
where Iter1: Iterator<Item = char> + Clone, Iter2: Iterator<Item = char> + Clone,