You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: smallvec_full_suite.rs
    path of file: ./repos/staticvec/benchmark
    
    the code of the file until where you have to start completion: #![allow(clippy::all, incomplete_features)]
#![feature(test)]

// SlightlyOutOfPhase, August 2019:

// This is, obviously, a modified version of SmallVec's benchmark sui
    
fn gen_remove<V: Vector<u64>>(n: usize, b: &mut Bencher) {
  #[inline(never)]
  fn remove_noinline<V: Vector<u64>>(vec: &mut V, p: usize) -> u64 {
    vec.remove(p)
  }

  b.iter(|| {
    let mut vec = V::from_elem(0, n as _);

    for x in (0..n - 1).rev() {
      remove_noinline(&mut vec, x);
    }
  });
}