Skip to content

Commit 8b307d2

Browse files
authored
Merge branch 'main' into n-len-vecs
2 parents c0dc4de + cc8fcc0 commit 8b307d2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

instant-distance/benches/all.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ benchmark_group!(benches, build_heuristic);
1010
fn build_heuristic(bench: &mut Bencher) {
1111
let mut rng = StdRng::seed_from_u64(SEED);
1212
let points = (0..1024)
13-
.into_iter()
1413
.map(|_| [rng.gen(), rng.gen()])
1514
.collect::<Vec<_>>();
1615

instant-distance/tests/all.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use instant_distance::{Builder, Metric, Search};
1010
#[allow(clippy::float_cmp, clippy::approx_constant)]
1111
fn map() {
1212
let points = (0..5)
13-
.into_iter()
1413
.map(|i| Point(i as f32, i as f32))
1514
.collect::<Vec<_>>();
1615
let values = vec!["zero", "one", "two", "three", "four"];
@@ -59,7 +58,6 @@ fn randomized(builder: Builder) -> (u64, usize) {
5958
let seed = ThreadRng::default().gen::<u64>();
6059
let mut rng = StdRng::seed_from_u64(seed);
6160
let points = (0..1024)
62-
.into_iter()
6361
.map(|_| Point(rng.gen(), rng.gen()))
6462
.collect::<Vec<_>>();
6563

0 commit comments

Comments
 (0)