pub fn dedup<T>(v: &mut Vec<T>)where
    T: Eq,