fn create_bit_vector(phrase: &str) -> i32 {
    let mut bit_vector = 0;

    phrase.chars().for_each(|c| {
        let x = get_char_number(c);
        bit_vector = toggle(bit_vector, x);
    });

    bit_vector
}
/// crate a bit vector for the string. For each letter with value i, toggle the ith bit
crate a bit vector for the string. For each letter with value i, toggle the ith bit
crate a bit vector for the string . For each letter with value i toggle the ith bit
fn create_bit_vector(phrase: &str) -> i32 {
    let mut bit_vector = 0;
    phrase.chars().for_each(|c| {
        let x = get_char_number(c);
        bit_vector = toggle(bit_vector, x);
    });
    bit_vector
}
fn create_bit_vector ( phrase : & str ) -> i32 { let mut bit_vector = 0 ; phrase . chars ( ) . for_each ( | c | { let x = get_char_number ( c ) ; bit_vector = toggle ( bit_vector , x ) ; } ) ; bit_vector }
crate a bit vector for the string.
crate a bit vector for the string .
phrase
&str
phrase
&str