pub fn hamming_ascii(str_a: &str, str_b: &str) -> usize {
    if str_a.len() <= str_b.len() {
        hamming_distance(&mut str_a.chars(), &mut str_b.chars())
    } else {
        hamming_distance(&mut str_b.chars(), &mut str_a.chars())
    }
}
/// Calculates the Hamming distance between the two strings.
///
/// Assumes an ascii string.

Calculates the Hamming distance between the two strings.
Assumes an ascii string.
Calculates the Hamming distance between the two strings . Assumes an ascii string .
pub fn hamming_ascii(str_a: &str, str_b: &str) -> usize {
    if str_a.len() <= str_b.len() {
        hamming_distance(&mut str_a.chars(), &mut str_b.chars())
    } else {
        hamming_distance(&mut str_b.chars(), &mut str_a.chars())
    }
}
pub fn hamming_ascii ( str_a : & str , str_b : & str ) -> usize { if str_a . len ( ) <= str_b . len ( ) { hamming_distance ( & mut str_a . chars ( ) , & mut str_b . chars ( ) ) } else { hamming_distance ( & mut str_b . chars ( ) , & mut str_a . chars ( ) ) } }
Calculates the Hamming distance between the two strings.
Calculates the Hamming distance between the two strings .
str_a
&str
str_b
&str
str_a
&str
str_b
&str