pub fn add_all_unique<T: PartialEq>(vec: &mut Vec<T>, vec2: &mut Vec<T>) {
    while !vec2.is_empty() {
        let val = vec2.pop().unwrap();
        add_unique(vec, val);
    }
}
/// adds all values from 2nd vector to the first one if the vector does not contains a same value
/// This function will pop all elements from the 2nd vector.
adds all values from 2nd vector to the first one if the vector does not contains a same value
This function will pop all elements from the 2nd vector.
adds all values from 2nd vector to the first one if the vector does not contains a same value This function will pop all elements from the 2nd vector .
pub fn add_all_unique<T: PartialEq>(vec: &mut Vec<T>, vec2: &mut Vec<T>) {
    while !vec2.is_empty() {
        let val = vec2.pop().unwrap();
        add_unique(vec, val);
    }
}
pub fn add_all_unique < T : PartialEq > ( vec : & mut Vec < T > , vec2 : & mut Vec < T > ) { while ! vec2 . is_empty ( ) { let val = vec2 . pop ( ) . unwrap ( ) ; add_unique ( vec , val ) ; } }
adds all values from 2nd vector to the first one if the vector does not contains a same value
This function will pop all elements from the 2nd vector.
adds all values from 2nd vector to the first one if the vector does not contains a same value This function will pop all elements from the 2nd vector .
vec
&mut Vec<T>
vec2
&mut Vec<T>
vec
&mut Vec<T>
vec2
&mut Vec<T>