]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/vec_linked_list.rs
Auto merge of #69156 - ecstatic-morse:unified-dataflow-impls2, r=eddyb
[rust.git] / src / librustc_data_structures / vec_linked_list.rs
index 0fb8060031843a156cf2344ec194a07bb6e95c09..1cf030d852e9fc8153388b6897a55da453bccf02 100644 (file)
@@ -1,4 +1,4 @@
-use crate::indexed_vec::{Idx, IndexVec};
+use rustc_index::vec::{Idx, IndexVec};
 
 pub fn iter<Ls>(
     first: Option<Ls::LinkIndex>,
@@ -7,10 +7,7 @@ pub fn iter<Ls>(
 where
     Ls: Links,
 {
-    VecLinkedListIterator {
-        links,
-        current: first,
-    }
+    VecLinkedListIterator { links, current: first }
 }
 
 pub struct VecLinkedListIterator<Ls>