@@ -254,22 +254,22 @@ where
254
254
}
255
255
256
256
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
257
- impl < ' b , A , B , const N : usize > PartialEq < & ' b [ B ] > for [ A ; N ]
257
+ impl < A , B , const N : usize > PartialEq < & [ B ] > for [ A ; N ]
258
258
where
259
259
A : PartialEq < B > ,
260
260
{
261
261
#[ inline]
262
- fn eq ( & self , other : & & ' b [ B ] ) -> bool {
262
+ fn eq ( & self , other : & & [ B ] ) -> bool {
263
263
self [ ..] == other[ ..]
264
264
}
265
265
#[ inline]
266
- fn ne ( & self , other : & & ' b [ B ] ) -> bool {
266
+ fn ne ( & self , other : & & [ B ] ) -> bool {
267
267
self [ ..] != other[ ..]
268
268
}
269
269
}
270
270
271
271
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
272
- impl < ' b , A , B , const N : usize > PartialEq < [ A ; N ] > for & ' b [ B ]
272
+ impl < A , B , const N : usize > PartialEq < [ A ; N ] > for & [ B ]
273
273
where
274
274
B : PartialEq < A > ,
275
275
{
@@ -284,22 +284,22 @@ where
284
284
}
285
285
286
286
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
287
- impl < ' b , A , B , const N : usize > PartialEq < & ' b mut [ B ] > for [ A ; N ]
287
+ impl < A , B , const N : usize > PartialEq < & mut [ B ] > for [ A ; N ]
288
288
where
289
289
A : PartialEq < B > ,
290
290
{
291
291
#[ inline]
292
- fn eq ( & self , other : & & ' b mut [ B ] ) -> bool {
292
+ fn eq ( & self , other : & & mut [ B ] ) -> bool {
293
293
self [ ..] == other[ ..]
294
294
}
295
295
#[ inline]
296
- fn ne ( & self , other : & & ' b mut [ B ] ) -> bool {
296
+ fn ne ( & self , other : & & mut [ B ] ) -> bool {
297
297
self [ ..] != other[ ..]
298
298
}
299
299
}
300
300
301
301
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
302
- impl < ' b , A , B , const N : usize > PartialEq < [ A ; N ] > for & ' b mut [ B ]
302
+ impl < A , B , const N : usize > PartialEq < [ A ; N ] > for & mut [ B ]
303
303
where
304
304
B : PartialEq < A > ,
305
305
{
0 commit comments