@@ -74,9 +74,7 @@ impl<'disk, 'buf, Io: BlockIo> GptPartitionEntryIter<'disk, 'buf, Io> {
74
74
}
75
75
}
76
76
77
- impl < ' disk , ' buf , Io : BlockIo > Iterator
78
- for GptPartitionEntryIter < ' disk , ' buf , Io >
79
- {
77
+ impl < Io : BlockIo > Iterator for GptPartitionEntryIter < ' _ , ' _ , Io > {
80
78
type Item = Result < GptPartitionEntry , DiskError < Io :: Error > > ;
81
79
82
80
fn next ( & mut self ) -> Option < Self :: Item > {
@@ -101,7 +99,7 @@ impl<'disk, 'buf, Io: BlockIo> Iterator
101
99
/// <https://stackoverflow.com/a/50548538>.
102
100
pub trait Captures < ' a , ' b > { }
103
101
104
- impl < ' a , ' b , T : ?Sized > Captures < ' a , ' b > for T { }
102
+ impl < T : ?Sized > Captures < ' _ , ' _ > for T { }
105
103
106
104
/// Error type used by [`Disk`] methods.
107
105
#[ allow( clippy:: module_name_repetitions) ]
@@ -287,6 +285,7 @@ impl<Io: BlockIo> Disk<Io> {
287
285
/// [`GptPartitionEntryArrayLayout`] for more.
288
286
///
289
287
/// `block_buf` is a mutable byte buffer with a length of at least one block.
288
+ #[ allow( clippy:: type_complexity) ]
290
289
pub fn gpt_partition_entry_array_iter < ' disk , ' buf > (
291
290
& ' disk mut self ,
292
291
layout : GptPartitionEntryArrayLayout ,
0 commit comments