-use crate::indexed_vec::{Idx, IndexVec};
+use rustc_index::vec::{Idx, IndexVec};
pub fn iter<Ls>(
first: Option<Ls::LinkIndex>,
where
Ls: Links,
{
- VecLinkedListIterator {
- links,
- current: first,
- }
+ VecLinkedListIterator { links, current: first }
}
pub struct VecLinkedListIterator<Ls>