pub fn hamming_distance<F, S>(first: F, second: S) -> usizeExpand description
Computes the Hamming edit distance between two strings, counting the number of substituted characters. Difference in length is added to the result as well.
§Arguments
first: The first byte slice.second: The second byte slice.
§Returns
A usize representing the minimum number of single-character edits (substitutions) required to
change first into second.