File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ impl<'a> Iterator for ElfSectionIter<'a> {
141
141
}
142
142
}
143
143
144
- impl < ' a > ExactSizeIterator for ElfSectionIter < ' a > {
144
+ impl ExactSizeIterator for ElfSectionIter < ' _ > {
145
145
fn len ( & self ) -> usize {
146
146
self . remaining_sections as usize
147
147
}
148
148
}
149
149
150
- impl < ' a > Debug for ElfSectionIter < ' a > {
150
+ impl Debug for ElfSectionIter < ' _ > {
151
151
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> core:: fmt:: Result {
152
152
/// Limit how many Elf-Sections should be debug-formatted.
153
153
/// Can be thousands of sections for a Rust binary => this is useless output.
@@ -218,7 +218,7 @@ struct ElfSectionInner64 {
218
218
entry_size : u64 ,
219
219
}
220
220
221
- impl < ' a > ElfSection < ' a > {
221
+ impl ElfSection < ' _ > {
222
222
/// Get the section type as a `ElfSectionType` enum variant.
223
223
#[ must_use]
224
224
pub fn section_type ( & self ) -> ElfSectionType {
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ pub enum FramebufferType<'a> {
319
319
Text ,
320
320
}
321
321
322
- impl < ' a > FramebufferType < ' a > {
322
+ impl FramebufferType < ' _ > {
323
323
#[ must_use]
324
324
#[ cfg( feature = "builder" ) ]
325
325
const fn id ( & self ) -> FramebufferTypeId {
Original file line number Diff line number Diff line change @@ -455,13 +455,13 @@ impl<'a> Iterator for EFIMemoryAreaIter<'a> {
455
455
}
456
456
}
457
457
458
- impl < ' a > ExactSizeIterator for EFIMemoryAreaIter < ' a > {
458
+ impl ExactSizeIterator for EFIMemoryAreaIter < ' _ > {
459
459
fn len ( & self ) -> usize {
460
460
self . entries
461
461
}
462
462
}
463
463
464
- impl < ' a > Debug for EFIMemoryAreaIter < ' a > {
464
+ impl Debug for EFIMemoryAreaIter < ' _ > {
465
465
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> core:: fmt:: Result {
466
466
let mut debug = f. debug_list ( ) ;
467
467
let iter = self . clone ( ) ;
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl<'a> Iterator for ModuleIter<'a> {
123
123
}
124
124
}
125
125
126
- impl < ' a > Debug for ModuleIter < ' a > {
126
+ impl Debug for ModuleIter < ' _ > {
127
127
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> core:: fmt:: Result {
128
128
let mut list = f. debug_list ( ) ;
129
129
self . clone ( ) . for_each ( |tag| {
You can’t perform that action at this time.
0 commit comments