Skip to content

Commit 49a9cb2

Browse files
authored
x509-cert: losen the lifetime requirement for AsyncBuilder (#1532)
I'm not entirely sure why I introduced that lifetime in the original PR (#1280).
1 parent 75f619d commit 49a9cb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x509-cert/src/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ pub trait AsyncBuilder: Sized {
466466
S: AsyncSigner<Signature>,
467467
S: Keypair + DynSignatureAlgorithmIdentifier,
468468
S::VerifyingKey: EncodePublicKey,
469-
Signature: SignatureBitStringEncoding + 'static,
469+
Signature: SignatureBitStringEncoding,
470470
{
471471
let blob = self.finalize(signer)?;
472472

@@ -485,7 +485,7 @@ pub trait AsyncBuilder: Sized {
485485
S: AsyncRandomizedSigner<Signature>,
486486
S: Keypair + DynSignatureAlgorithmIdentifier,
487487
S::VerifyingKey: EncodePublicKey,
488-
Signature: SignatureBitStringEncoding + 'static,
488+
Signature: SignatureBitStringEncoding,
489489
{
490490
let blob = self.finalize(signer)?;
491491

0 commit comments

Comments
 (0)