diff --git a/signature/CHANGELOG.md b/signature/CHANGELOG.md index 1f0304fbf..619aa4e92 100644 --- a/signature/CHANGELOG.md +++ b/signature/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - `std` feature - replaced with `core::error::Error` - `derive` feature +- `SignerMut` blanket implementation for `Signer` [#1448]: https://github.com/RustCrypto/traits/pull/1448 [#1759]: https://github.com/RustCrypto/traits/pull/1759 diff --git a/signature/src/signer.rs b/signature/src/signer.rs index b9eec6eab..7fc10764f 100644 --- a/signature/src/signer.rs +++ b/signature/src/signer.rs @@ -55,13 +55,6 @@ pub trait SignerMut { fn try_sign(&mut self, msg: &[u8]) -> Result; } -/// Blanket impl of [`SignerMut`] for all [`Signer`] types. -impl> SignerMut for T { - fn try_sign(&mut self, msg: &[u8]) -> Result { - T::try_sign(self, msg) - } -} - /// Sign the given prehashed message [`Digest`] using `Self`. /// /// ## Notes