Skip to content

Commit 45a2844

Browse files
committed
async-signature: fixup tests
1 parent 5b2cfed commit 45a2844

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

async-signature/tests/mock_impl.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ where
2828

2929
#[cfg(feature = "rand_core")]
3030
impl async_signature::AsyncRandomizedSigner<Signature> for MockSigner {
31-
async fn try_sign_with_rng_async<R: async_signature::signature::rand_core::TryCryptoRng>(
31+
async fn try_sign_with_rng_async<
32+
R: async_signature::signature::rand_core::TryCryptoRng + ?Sized,
33+
>(
3234
&self,
3335
_rng: &mut R,
3436
_msg: &[u8],

0 commit comments

Comments
 (0)