Skip to content

Commit 4e44724

Browse files
committed
remove blanket SignerMut impl (breaking change)
1 parent 39a27c2 commit 4e44724

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

signature/src/signer.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ pub trait SignerMut<S> {
5555
fn try_sign(&mut self, msg: &[u8]) -> Result<S, Error>;
5656
}
5757

58-
/// Blanket impl of [`SignerMut`] for all [`Signer`] types.
59-
impl<S, T: Signer<S>> SignerMut<S> for T {
60-
fn try_sign(&mut self, msg: &[u8]) -> Result<S, Error> {
61-
T::try_sign(self, msg)
62-
}
63-
}
64-
6558
/// Sign the given prehashed message [`Digest`] using `Self`.
6659
///
6760
/// ## Notes

0 commit comments

Comments
 (0)