Skip to content

Commit 6f98e01

Browse files
committed
async-signature: fixup tests
1 parent 35ae7e3 commit 6f98e01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

async-signature/tests/mock_impl.rs

+3-1
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)