Remove an unnecessary lifetime.

This commit is contained in:
Nicholas Nethercote
2025-05-20 12:01:03 +10:00
parent ee1c2d583a
commit a822e557cd

View File

@@ -549,7 +549,7 @@ impl<'a> MetaItemListParser<'a> {
}
/// Lets you pick and choose as what you want to parse each element in the list
pub fn mixed<'s>(&'s self) -> impl Iterator<Item = &'s MetaItemOrLitParser<'a>> + 's {
pub fn mixed(&self) -> impl Iterator<Item = &MetaItemOrLitParser<'a>> {
self.sub_parsers.iter()
}