Closed ekmartin closed 6 years ago
This ensures deterministic indices and so on.
Just change
let mut sorted_new = new.iter().collect::<Vec<_>>();
to
let mut sorted_new = new.iter().cloned().collect::<Vec<_>>();
This ensures deterministic indices and so on.