Skip to content

Commit d89eefa

Browse files
committed
Remove an unnecessary lifetime.
1 parent ee1c2d5 commit d89eefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_attr_parsing/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ impl<'a> MetaItemListParser<'a> {
549549
}
550550

551551
/// Lets you pick and choose as what you want to parse each element in the list
552-
pub fn mixed<'s>(&'s self) -> impl Iterator<Item = &'s MetaItemOrLitParser<'a>> + 's {
552+
pub fn mixed(&self) -> impl Iterator<Item = &MetaItemOrLitParser<'a>> + '_ {
553553
self.sub_parsers.iter()
554554
}
555555

0 commit comments

Comments
 (0)