@@ -279,22 +279,22 @@ where
279
279
}
280
280
281
281
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
282
- impl < ' b , A , B , const N : usize > PartialEq < & ' b [ B ] > for [ A ; N ]
282
+ impl < A , B , const N : usize > PartialEq < & [ B ] > for [ A ; N ]
283
283
where
284
284
A : PartialEq < B > ,
285
285
{
286
286
#[ inline]
287
- fn eq ( & self , other : & & ' b [ B ] ) -> bool {
287
+ fn eq ( & self , other : & & [ B ] ) -> bool {
288
288
self [ ..] == other[ ..]
289
289
}
290
290
#[ inline]
291
- fn ne ( & self , other : & & ' b [ B ] ) -> bool {
291
+ fn ne ( & self , other : & & [ B ] ) -> bool {
292
292
self [ ..] != other[ ..]
293
293
}
294
294
}
295
295
296
296
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
297
- impl < ' b , A , B , const N : usize > PartialEq < [ A ; N ] > for & ' b [ B ]
297
+ impl < A , B , const N : usize > PartialEq < [ A ; N ] > for & [ B ]
298
298
where
299
299
B : PartialEq < A > ,
300
300
{
@@ -309,22 +309,22 @@ where
309
309
}
310
310
311
311
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
312
- impl < ' b , A , B , const N : usize > PartialEq < & ' b mut [ B ] > for [ A ; N ]
312
+ impl < A , B , const N : usize > PartialEq < & mut [ B ] > for [ A ; N ]
313
313
where
314
314
A : PartialEq < B > ,
315
315
{
316
316
#[ inline]
317
- fn eq ( & self , other : & & ' b mut [ B ] ) -> bool {
317
+ fn eq ( & self , other : & & mut [ B ] ) -> bool {
318
318
self [ ..] == other[ ..]
319
319
}
320
320
#[ inline]
321
- fn ne ( & self , other : & & ' b mut [ B ] ) -> bool {
321
+ fn ne ( & self , other : & & mut [ B ] ) -> bool {
322
322
self [ ..] != other[ ..]
323
323
}
324
324
}
325
325
326
326
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
327
- impl < ' b , A , B , const N : usize > PartialEq < [ A ; N ] > for & ' b mut [ B ]
327
+ impl < A , B , const N : usize > PartialEq < [ A ; N ] > for & mut [ B ]
328
328
where
329
329
B : PartialEq < A > ,
330
330
{
0 commit comments