fix(dictgen)!: Remove fn iter

This commit is contained in:
Ed Page 2024-12-30 12:07:51 -06:00
parent 3db1b3906e
commit a33352a199
2 changed files with 0 additions and 10 deletions

View file

@ -68,9 +68,4 @@ impl<V> DictMap<V> {
None
}
}
#[inline]
pub fn iter(&self) -> impl Iterator<Item = (unicase::UniCase<&str>, &V)> + '_ {
self.map.entries().map(|(k, v)| (k.convert(), v))
}
}

View file

@ -70,9 +70,4 @@ impl<V> DictTable<V> {
None
}
}
#[inline]
pub fn iter(&self) -> impl Iterator<Item = (unicase::UniCase<&'static str>, &'static V)> + '_ {
(0..self.keys.len()).map(move |i| (self.keys[i].convert(), &self.values[i]))
}
}