diff --git a/lib/benches/hashset_vs_vector.rs b/lib/benches/hashset_vs_vector.rs index 23e29120..ca9034c7 100644 --- a/lib/benches/hashset_vs_vector.rs +++ b/lib/benches/hashset_vs_vector.rs @@ -19,7 +19,7 @@ fn bench_hashset(samples_vec: &Vec>) { fn bench_hashbrown(samples_vec: &Vec>) { for samples in samples_vec { - let mut h = AHashSet::::with_capacity(samples.len()); + let mut h = AHashSet::with_capacity(samples.len()); for &s in samples { h.insert(s); } @@ -48,7 +48,7 @@ fn bench_vector(samples_vec: &Vec>) { fn bench_array(samples_vec: &Vec>) { for samples in samples_vec { - let mut v = ArraySet::::with_capacity(samples.len()); + let mut v = ArraySet::::with_capacity(samples.len()); for &s in samples { v.insert(s); }