Skip to content

Commit

Permalink
fix(identity): address clippy lint
Browse files Browse the repository at this point in the history
Pull-Request: #4582.
  • Loading branch information
thomaseizinger authored Oct 2, 2023
1 parent 90a9752 commit ef1cd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identity/src/keypair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl Keypair {
#[cfg(feature = "ed25519")]
KeyPairInner::Ed25519(ref inner) => Some(inner.secret().to_bytes()),
#[cfg(all(feature = "rsa", not(target_arch = "wasm32")))]
KeyPairInner::Rsa(_) => return None,
KeyPairInner::Rsa(_) => None,
#[cfg(feature = "secp256k1")]
KeyPairInner::Secp256k1(ref inner) => Some(inner.secret().to_bytes()),
#[cfg(feature = "ecdsa")]
Expand Down

0 comments on commit ef1cd35

Please sign in to comment.