Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Avery committed Oct 11, 2024
1 parent 0997cd9 commit 963e9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bitwarden-core/src/mobile/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ pub fn verify_asymmetric_keys(
let enc = client.internal.get_encryption_settings()?;
let user_key = enc.get_key(&None)?;

Ok(match verify_inner(&user_key, &request) {
Ok(match verify_inner(user_key, &request) {
Ok(_) => VerifyAsymmetricKeysResponse {
private_key_decryptable: true,
valid_private_key: true,
Expand Down Expand Up @@ -716,7 +716,7 @@ mod tests {
key_pair.private.clone(),
)
.unwrap();
return (client, user_key, key_pair);
(client, user_key, key_pair)
}

#[test]
Expand Down

0 comments on commit 963e9af

Please sign in to comment.