Move to edition 2021 altogether

This commit is contained in:
2022-05-01 12:00:10 +02:00
parent 3b9b908460
commit 38b3b226cc
3 changed files with 6 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ where
if lb < ub {
// This edge might introduce a cycle, need to recompute the topological sort
let mut visited = IntoIterator::into_iter([x, y]).collect();
let mut visited = [x, y].into_iter().collect();
let mut delta_f = Vec::new();
let mut delta_b = Vec::new();