@@ -100,9 +100,9 @@ mod private {
100100 use super :: * ;
101101 pub trait Sealed { }
102102
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 < ' _ > { }
106106}
107107
108108#[ cfg( feature = "alloc" ) ]
@@ -274,13 +274,13 @@ mod alloc_only {
274274 }
275275}
276276
277- impl < ' buf > Signing for SignOnlyPreallocated < ' buf > { }
278- impl < ' buf > Signing for AllPreallocated < ' buf > { }
277+ impl Signing for SignOnlyPreallocated < ' _ > { }
278+ impl Signing for AllPreallocated < ' _ > { }
279279
280- impl < ' buf > Verification for VerifyOnlyPreallocated < ' buf > { }
281- impl < ' buf > Verification for AllPreallocated < ' buf > { }
280+ impl Verification for VerifyOnlyPreallocated < ' _ > { }
281+ impl Verification for AllPreallocated < ' _ > { }
282282
283- unsafe impl < ' buf > Context for SignOnlyPreallocated < ' buf > {
283+ unsafe impl Context for SignOnlyPreallocated < ' _ > {
284284 const FLAGS : c_uint = ffi:: SECP256K1_START_SIGN ;
285285 const DESCRIPTION : & ' static str = "signing only" ;
286286
@@ -289,7 +289,7 @@ unsafe impl<'buf> Context for SignOnlyPreallocated<'buf> {
289289 }
290290}
291291
292- unsafe impl < ' buf > Context for VerifyOnlyPreallocated < ' buf > {
292+ unsafe impl Context for VerifyOnlyPreallocated < ' _ > {
293293 const FLAGS : c_uint = ffi:: SECP256K1_START_VERIFY ;
294294 const DESCRIPTION : & ' static str = "verification only" ;
295295
@@ -298,7 +298,7 @@ unsafe impl<'buf> Context for VerifyOnlyPreallocated<'buf> {
298298 }
299299}
300300
301- unsafe impl < ' buf > Context for AllPreallocated < ' buf > {
301+ unsafe impl Context for AllPreallocated < ' _ > {
302302 const FLAGS : c_uint = SignOnlyPreallocated :: FLAGS | VerifyOnlyPreallocated :: FLAGS ;
303303 const DESCRIPTION : & ' static str = "all capabilities" ;
304304
0 commit comments