@@ -180,7 +180,7 @@ pub struct Package<'a> {
180180 children : Vec < & ' a dyn Aml > ,
181181}
182182
183- impl < ' a > Aml for Package < ' a > {
183+ impl Aml for Package < ' _ > {
184184 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
185185 let mut tmp = vec ! [ self . children. len( ) . try_into( ) . unwrap( ) ] ;
186186 for child in & self . children {
@@ -336,7 +336,7 @@ pub struct ResourceTemplate<'a> {
336336 children : Vec < & ' a dyn Aml > ,
337337}
338338
339- impl < ' a > Aml for ResourceTemplate < ' a > {
339+ impl Aml for ResourceTemplate < ' _ > {
340340 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
341341 let mut tmp = Vec :: new ( ) ;
342342 // Add buffer data
@@ -607,7 +607,7 @@ pub struct Device<'a> {
607607 children : Vec < & ' a dyn Aml > ,
608608}
609609
610- impl < ' a > Aml for Device < ' a > {
610+ impl Aml for Device < ' _ > {
611611 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
612612 let mut tmp = Vec :: new ( ) ;
613613 self . path . append_aml_bytes ( & mut tmp) ?;
@@ -637,7 +637,7 @@ pub struct Scope<'a> {
637637 children : Vec < & ' a dyn Aml > ,
638638}
639639
640- impl < ' a > Aml for Scope < ' a > {
640+ impl Aml for Scope < ' _ > {
641641 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
642642 let mut tmp = Vec :: new ( ) ;
643643 self . path . append_aml_bytes ( & mut tmp) ?;
@@ -678,7 +678,7 @@ impl<'a> Method<'a> {
678678 }
679679}
680680
681- impl < ' a > Aml for Method < ' a > {
681+ impl Aml for Method < ' _ > {
682682 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
683683 let mut tmp = Vec :: new ( ) ;
684684 self . path . append_aml_bytes ( & mut tmp) ?;
@@ -707,7 +707,7 @@ impl<'a> Return<'a> {
707707 }
708708}
709709
710- impl < ' a > Aml for Return < ' a > {
710+ impl Aml for Return < ' _ > {
711711 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
712712 bytes. push ( 0xa4 ) ; // ReturnOp
713713 self . value . append_aml_bytes ( bytes) ?;
@@ -850,7 +850,7 @@ impl<'a> If<'a> {
850850 }
851851}
852852
853- impl < ' a > Aml for If < ' a > {
853+ impl Aml for If < ' _ > {
854854 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
855855 let mut tmp = Vec :: new ( ) ;
856856 self . predicate . append_aml_bytes ( & mut tmp) ?;
@@ -878,7 +878,7 @@ impl<'a> Equal<'a> {
878878 }
879879}
880880
881- impl < ' a > Aml for Equal < ' a > {
881+ impl Aml for Equal < ' _ > {
882882 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
883883 bytes. push ( 0x93 ) ; // LEqualOp
884884 self . left . append_aml_bytes ( bytes) ?;
@@ -898,7 +898,7 @@ impl<'a> LessThan<'a> {
898898 }
899899}
900900
901- impl < ' a > Aml for LessThan < ' a > {
901+ impl Aml for LessThan < ' _ > {
902902 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
903903 bytes. push ( 0x95 ) ; // LLessOp
904904 self . left . append_aml_bytes ( bytes) ?;
@@ -942,7 +942,7 @@ impl<'a> Store<'a> {
942942 }
943943}
944944
945- impl < ' a > Aml for Store < ' a > {
945+ impl Aml for Store < ' _ > {
946946 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
947947 bytes. push ( 0x70 ) ; // StoreOp
948948 self . value . append_aml_bytes ( bytes) ?;
@@ -1023,7 +1023,7 @@ impl<'a> Notify<'a> {
10231023 }
10241024}
10251025
1026- impl < ' a > Aml for Notify < ' a > {
1026+ impl Aml for Notify < ' _ > {
10271027 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
10281028 bytes. push ( 0x86 ) ; // NotifyOp
10291029 self . object . append_aml_bytes ( bytes) ?;
@@ -1046,7 +1046,7 @@ impl<'a> While<'a> {
10461046 }
10471047}
10481048
1049- impl < ' a > Aml for While < ' a > {
1049+ impl Aml for While < ' _ > {
10501050 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
10511051 let mut tmp = Vec :: new ( ) ;
10521052 self . predicate . append_aml_bytes ( & mut tmp) ?;
@@ -1116,7 +1116,7 @@ impl<'a> MethodCall<'a> {
11161116 }
11171117}
11181118
1119- impl < ' a > Aml for MethodCall < ' a > {
1119+ impl Aml for MethodCall < ' _ > {
11201120 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
11211121 self . name . append_aml_bytes ( bytes) ?;
11221122 for arg in self . args . iter ( ) {
@@ -1169,7 +1169,7 @@ impl<'a, T> CreateField<'a, T> {
11691169 }
11701170}
11711171
1172- impl < ' a > Aml for CreateField < ' a , u64 > {
1172+ impl Aml for CreateField < ' _ , u64 > {
11731173 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
11741174 bytes. push ( 0x8f ) ; // CreateQWordFieldOp
11751175 self . buffer . append_aml_bytes ( bytes) ?;
@@ -1178,7 +1178,7 @@ impl<'a> Aml for CreateField<'a, u64> {
11781178 }
11791179}
11801180
1181- impl < ' a > Aml for CreateField < ' a , u32 > {
1181+ impl Aml for CreateField < ' _ , u32 > {
11821182 fn append_aml_bytes ( & self , bytes : & mut Vec < u8 > ) -> Result < ( ) , AmlError > {
11831183 bytes. push ( 0x8a ) ; // CreateDWordFieldOp
11841184 self . buffer . append_aml_bytes ( bytes) ?;
0 commit comments