@@ -100,9 +100,9 @@ mod private {
100
100
use super :: * ;
101
101
pub trait Sealed { }
102
102
103
- impl < ' buf > Sealed for AllPreallocated < ' buf > { }
104
- impl < ' buf > Sealed for VerifyOnlyPreallocated < ' buf > { }
105
- impl < ' buf > Sealed for SignOnlyPreallocated < ' buf > { }
103
+ impl Sealed for AllPreallocated < ' _ > { }
104
+ impl Sealed for VerifyOnlyPreallocated < ' _ > { }
105
+ impl Sealed for SignOnlyPreallocated < ' _ > { }
106
106
}
107
107
108
108
#[ cfg( feature = "alloc" ) ]
@@ -274,13 +274,13 @@ mod alloc_only {
274
274
}
275
275
}
276
276
277
- impl < ' buf > Signing for SignOnlyPreallocated < ' buf > { }
278
- impl < ' buf > Signing for AllPreallocated < ' buf > { }
277
+ impl Signing for SignOnlyPreallocated < ' _ > { }
278
+ impl Signing for AllPreallocated < ' _ > { }
279
279
280
- impl < ' buf > Verification for VerifyOnlyPreallocated < ' buf > { }
281
- impl < ' buf > Verification for AllPreallocated < ' buf > { }
280
+ impl Verification for VerifyOnlyPreallocated < ' _ > { }
281
+ impl Verification for AllPreallocated < ' _ > { }
282
282
283
- unsafe impl < ' buf > Context for SignOnlyPreallocated < ' buf > {
283
+ unsafe impl Context for SignOnlyPreallocated < ' _ > {
284
284
const FLAGS : c_uint = ffi:: SECP256K1_START_SIGN ;
285
285
const DESCRIPTION : & ' static str = "signing only" ;
286
286
@@ -289,7 +289,7 @@ unsafe impl<'buf> Context for SignOnlyPreallocated<'buf> {
289
289
}
290
290
}
291
291
292
- unsafe impl < ' buf > Context for VerifyOnlyPreallocated < ' buf > {
292
+ unsafe impl Context for VerifyOnlyPreallocated < ' _ > {
293
293
const FLAGS : c_uint = ffi:: SECP256K1_START_VERIFY ;
294
294
const DESCRIPTION : & ' static str = "verification only" ;
295
295
@@ -298,7 +298,7 @@ unsafe impl<'buf> Context for VerifyOnlyPreallocated<'buf> {
298
298
}
299
299
}
300
300
301
- unsafe impl < ' buf > Context for AllPreallocated < ' buf > {
301
+ unsafe impl Context for AllPreallocated < ' _ > {
302
302
const FLAGS : c_uint = SignOnlyPreallocated :: FLAGS | VerifyOnlyPreallocated :: FLAGS ;
303
303
const DESCRIPTION : & ' static str = "all capabilities" ;
304
304
0 commit comments