Fixes for rayon 1.0
This commit is contained in:
@@ -123,7 +123,7 @@ fn criterion_benchmark(c: &mut Criterion) {
|
||||
fitness: None,
|
||||
}
|
||||
})
|
||||
.collect_into(population);
|
||||
.collect_into_vec(population);
|
||||
|
||||
// Add all parents again.
|
||||
population.extend(parents.iter().cloned());
|
||||
|
||||
@@ -109,7 +109,7 @@ fn main() {
|
||||
fitness: None,
|
||||
}
|
||||
})
|
||||
.collect_into(population);
|
||||
.collect_into_vec(population);
|
||||
|
||||
// Add all parents again.
|
||||
population.extend(parents.iter().cloned());
|
||||
|
||||
Reference in New Issue
Block a user