Misc. small tweaks from perusing modules (#9383)

This commit is contained in:
Charlie Marsh
2024-01-03 13:30:25 -04:00
committed by GitHub
parent 7b6baff734
commit 0e202718fd
4 changed files with 10 additions and 5 deletions

View File

@@ -265,8 +265,8 @@ impl<'a> Deref for Definitions<'a> {
}
impl<'a> IntoIterator for Definitions<'a> {
type IntoIter = std::vec::IntoIter<Self::Item>;
type Item = Definition<'a>;
type IntoIter = std::vec::IntoIter<Self::Item>;
fn into_iter(self) -> Self::IntoIter {
self.0.into_iter()