Adjust some names.
@@ -302,7 +302,7 @@ fn vec_bench_macro_from_list(b: &mut Bencher) {
}
#[bench]
-fn bench_clone(b: &mut Bencher) {
+fn staticvec_bench_clone(b: &mut Bencher) {
let v: StaticVec<Vec<u32>, { 200 }> = (0..100).map(|i| (0..i).collect()).collect();
b.iter(move || {
@@ -311,7 +311,7 @@ fn bench_clone(b: &mut Bencher) {
}
#[bench]
-fn bench_trivial_clone(b: &mut Bencher) {
+fn staticvec_bench_trivial_clone(b: &mut Bencher) {
let v: StaticVec<u32, { 200 }> = (50..150).collect();
b.iter(move || {
@@ -320,7 +320,7 @@ fn bench_trivial_clone(b: &mut Bencher) {
}
#[bench]
-fn bench_clone_from_shorter(b: &mut Bencher) {
+fn staticvec_bench_clone_from_shorter(b: &mut Bencher) {
// We create some vectors with semi-random lengths to provoke
// different behaviors in the underlying Vec::clone_from. This allows us to
// demonstrate the advantage of using an underlying clone_from over a raw
@@ -349,7 +349,7 @@ fn bench_clone_from_shorter(b: &mut Bencher) {
}
#[bench]
-fn bench_clone_from_longer(b: &mut Bencher) {
+fn staticvec_bench_clone_from_longer(b: &mut Bencher) {
// We create some vectors with semi-random lengths to provoke
// different behaviors in the underlying Vec::clone_from. This allows us to
// demonstrate the advantage of using an underlying clone_from over a raw
