Function remove_indices

Source
pub fn remove_indices<T>(vector: &mut Vec<T>, indices: &[usize])
Expand description

Reduce the size of the vector by removing values.

ยงArguments

  • vector: Vec to remove indices from.
  • indices: A sorted slice of indices to remove.