Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tjade273 committed Jan 3, 2024
1 parent 01eb296 commit e275ada
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion signature/src/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ pub trait RandomizedDigestSigner<D: Digest, S> {
pub trait RandomizedSignerMut<S> {
/// Sign the given message, update the state, and return a digital signature.
fn sign_with_rng(&mut self, rng: &mut impl CryptoRngCore, msg: &[u8]) -> S {
self.try_sign_with_rng(rng, msg).expect("signature operation failed")
self.try_sign_with_rng(rng, msg)
.expect("signature operation failed")
}

/// Attempt to sign the given message, updating the state, and returning a
Expand Down

0 comments on commit e275ada

Please sign in to comment.