@@ -209,7 +209,7 @@ impl<'de> AsRef<ValueInner<'de>> for Value<'de> {
209
209
}
210
210
}
211
211
212
- impl < ' de > fmt:: Debug for Value < ' de > {
212
+ impl fmt:: Debug for Value < ' _ > {
213
213
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
214
214
write ! ( f, "{:?}" , self . value)
215
215
}
@@ -225,43 +225,43 @@ pub struct Key<'de> {
225
225
pub span : Span ,
226
226
}
227
227
228
- impl < ' de > std:: borrow:: Borrow < str > for Key < ' de > {
228
+ impl std:: borrow:: Borrow < str > for Key < ' _ > {
229
229
fn borrow ( & self ) -> & str {
230
230
self . name . as_ref ( )
231
231
}
232
232
}
233
233
234
- impl < ' de > fmt:: Debug for Key < ' de > {
234
+ impl fmt:: Debug for Key < ' _ > {
235
235
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
236
236
f. write_str ( & self . name )
237
237
}
238
238
}
239
239
240
- impl < ' de > fmt:: Display for Key < ' de > {
240
+ impl fmt:: Display for Key < ' _ > {
241
241
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
242
242
f. write_str ( & self . name )
243
243
}
244
244
}
245
245
246
- impl < ' de > Ord for Key < ' de > {
246
+ impl Ord for Key < ' _ > {
247
247
fn cmp ( & self , other : & Self ) -> std:: cmp:: Ordering {
248
248
self . name . cmp ( & other. name )
249
249
}
250
250
}
251
251
252
- impl < ' de > PartialOrd for Key < ' de > {
252
+ impl PartialOrd for Key < ' _ > {
253
253
fn partial_cmp ( & self , other : & Self ) -> Option < std:: cmp:: Ordering > {
254
254
Some ( self . cmp ( other) )
255
255
}
256
256
}
257
257
258
- impl < ' de > PartialEq for Key < ' de > {
258
+ impl PartialEq for Key < ' _ > {
259
259
fn eq ( & self , other : & Self ) -> bool {
260
260
self . name . eq ( & other. name )
261
261
}
262
262
}
263
263
264
- impl < ' de > Eq for Key < ' de > { }
264
+ impl Eq for Key < ' _ > { }
265
265
266
266
/// A toml table, always represented as a sorted map.
267
267
///
0 commit comments