@@ -74,9 +74,7 @@ impl<'disk, 'buf, Io: BlockIo> GptPartitionEntryIter<'disk, 'buf, Io> {
7474 }
7575}
7676
77- impl < ' disk , ' buf , Io : BlockIo > Iterator
78- for GptPartitionEntryIter < ' disk , ' buf , Io >
79- {
77+ impl < Io : BlockIo > Iterator for GptPartitionEntryIter < ' _ , ' _ , Io > {
8078 type Item = Result < GptPartitionEntry , DiskError < Io :: Error > > ;
8179
8280 fn next ( & mut self ) -> Option < Self :: Item > {
@@ -101,7 +99,7 @@ impl<'disk, 'buf, Io: BlockIo> Iterator
10199/// <https://stackoverflow.com/a/50548538>.
102100pub trait Captures < ' a , ' b > { }
103101
104- impl < ' a , ' b , T : ?Sized > Captures < ' a , ' b > for T { }
102+ impl < T : ?Sized > Captures < ' _ , ' _ > for T { }
105103
106104/// Error type used by [`Disk`] methods.
107105#[ allow( clippy:: module_name_repetitions) ]
@@ -287,6 +285,7 @@ impl<Io: BlockIo> Disk<Io> {
287285 /// [`GptPartitionEntryArrayLayout`] for more.
288286 ///
289287 /// `block_buf` is a mutable byte buffer with a length of at least one block.
288+ #[ allow( clippy:: type_complexity) ]
290289 pub fn gpt_partition_entry_array_iter < ' disk , ' buf > (
291290 & ' disk mut self ,
292291 layout : GptPartitionEntryArrayLayout ,
0 commit comments