47
47
}
48
48
}
49
49
50
- impl < ' a , I , F > fmt:: Display for FormatWith < ' a , I , F >
50
+ impl < I , F > fmt:: Display for FormatWith < ' _ , I , F >
51
51
where
52
52
I : Iterator ,
53
53
F : FnMut ( I :: Item , & mut dyn FnMut ( & dyn fmt:: Display ) -> fmt:: Result ) -> fmt:: Result ,
71
71
}
72
72
}
73
73
74
- impl < ' a , I , F > fmt:: Debug for FormatWith < ' a , I , F >
74
+ impl < I , F > fmt:: Debug for FormatWith < ' _ , I , F >
75
75
where
76
76
I : Iterator ,
77
77
F : FnMut ( I :: Item , & mut dyn FnMut ( & dyn fmt:: Display ) -> fmt:: Result ) -> fmt:: Result ,
81
81
}
82
82
}
83
83
84
- impl < ' a , I > Format < ' a , I >
84
+ impl < I > Format < ' _ , I >
85
85
where
86
86
I : Iterator ,
87
87
{
@@ -125,7 +125,7 @@ macro_rules! impl_format {
125
125
126
126
impl_format ! { Display Debug UpperExp LowerExp UpperHex LowerHex Octal Binary Pointer }
127
127
128
- impl < ' a , I , F > Clone for FormatWith < ' a , I , F >
128
+ impl < I , F > Clone for FormatWith < ' _ , I , F >
129
129
where
130
130
( I , F ) : Clone ,
131
131
{
@@ -135,7 +135,7 @@ where
135
135
inner : Option < ( I , F ) > ,
136
136
}
137
137
// 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 > {
139
139
fn drop ( & mut self ) {
140
140
self . into . inner . set ( self . inner . take ( ) )
141
141
}
@@ -151,7 +151,7 @@ where
151
151
}
152
152
}
153
153
154
- impl < ' a , I > Clone for Format < ' a , I >
154
+ impl < I > Clone for Format < ' _ , I >
155
155
where
156
156
I : Clone ,
157
157
{
@@ -161,7 +161,7 @@ where
161
161
inner : Option < I > ,
162
162
}
163
163
// 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 > {
165
165
fn drop ( & mut self ) {
166
166
self . into . inner . set ( self . inner . take ( ) )
167
167
}
0 commit comments