mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-25 20:50:32 +01:00
Deal with IntoIter deprecation
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
use std::array::IntoIter;
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
@@ -116,7 +115,7 @@ where
|
|||||||
|
|
||||||
if lb < ub {
|
if lb < ub {
|
||||||
// This edge might introduce a cycle, need to recompute the topological sort
|
// This edge might introduce a cycle, need to recompute the topological sort
|
||||||
let mut visited = IntoIter::new([x, y]).collect();
|
let mut visited = IntoIterator::into_iter([x, y]).collect();
|
||||||
let mut delta_f = Vec::new();
|
let mut delta_f = Vec::new();
|
||||||
let mut delta_b = Vec::new();
|
let mut delta_b = Vec::new();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user