diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-20 12:01:03 +1000 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-21 04:53:24 +1000 | 
| commit | a822e557cd19efa0dcf62ae3e7af6b6310fa2f5c (patch) | |
| tree | c395992f16fbdf159eba81480da515098f8198c7 /compiler/rustc_attr_parsing/src/parser.rs | |
| parent | ee1c2d583a081e24684e09fbbcc78fe4d5220066 (diff) | |
| download | rust-a822e557cd19efa0dcf62ae3e7af6b6310fa2f5c.tar.gz rust-a822e557cd19efa0dcf62ae3e7af6b6310fa2f5c.zip | |
Remove an unnecessary lifetime.
Diffstat (limited to 'compiler/rustc_attr_parsing/src/parser.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/parser.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_attr_parsing/src/parser.rs b/compiler/rustc_attr_parsing/src/parser.rs index a5c3cec3bdd..a9eb0a51888 100644 --- a/compiler/rustc_attr_parsing/src/parser.rs +++ b/compiler/rustc_attr_parsing/src/parser.rs @@ -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() } | 
