4747 }
4848}
4949
50- impl < ' a , I , F > fmt:: Display for FormatWith < ' a , I , F >
50+ impl < I , F > fmt:: Display for FormatWith < ' _ , I , F >
5151where
5252 I : Iterator ,
5353 F : FnMut ( I :: Item , & mut dyn FnMut ( & dyn fmt:: Display ) -> fmt:: Result ) -> fmt:: Result ,
7171 }
7272}
7373
74- impl < ' a , I , F > fmt:: Debug for FormatWith < ' a , I , F >
74+ impl < I , F > fmt:: Debug for FormatWith < ' _ , I , F >
7575where
7676 I : Iterator ,
7777 F : FnMut ( I :: Item , & mut dyn FnMut ( & dyn fmt:: Display ) -> fmt:: Result ) -> fmt:: Result ,
8181 }
8282}
8383
84- impl < ' a , I > Format < ' a , I >
84+ impl < I > Format < ' _ , I >
8585where
8686 I : Iterator ,
8787{
@@ -125,7 +125,7 @@ macro_rules! impl_format {
125125
126126impl_format ! { Display Debug UpperExp LowerExp UpperHex LowerHex Octal Binary Pointer }
127127
128- impl < ' a , I , F > Clone for FormatWith < ' a , I , F >
128+ impl < I , F > Clone for FormatWith < ' _ , I , F >
129129where
130130 ( I , F ) : Clone ,
131131{
@@ -135,7 +135,7 @@ where
135135 inner : Option < ( I , F ) > ,
136136 }
137137 // This ensures we preserve the state of the original `FormatWith` if `Clone` panics
138- impl < ' r , ' a , I , F > Drop for PutBackOnDrop < ' r , ' a , I , F > {
138+ impl < I , F > Drop for PutBackOnDrop < ' _ , ' _ , I , F > {
139139 fn drop ( & mut self ) {
140140 self . into . inner . set ( self . inner . take ( ) )
141141 }
@@ -151,7 +151,7 @@ where
151151 }
152152}
153153
154- impl < ' a , I > Clone for Format < ' a , I >
154+ impl < I > Clone for Format < ' _ , I >
155155where
156156 I : Clone ,
157157{
@@ -161,7 +161,7 @@ where
161161 inner : Option < I > ,
162162 }
163163 // This ensures we preserve the state of the original `FormatWith` if `Clone` panics
164- impl < ' r , ' a , I > Drop for PutBackOnDrop < ' r , ' a , I > {
164+ impl < I > Drop for PutBackOnDrop < ' _ , ' _ , I > {
165165 fn drop ( & mut self ) {
166166 self . into . inner . set ( self . inner . take ( ) )
167167 }
0 commit comments