Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed Sep 17, 2024
1 parent 64a9591 commit d17206b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pk_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl PkDecryption {
self.inner
.decrypt(&message)
.map(|vec| Python::with_gil(|py| PyBytes::new_bound(py, vec.as_slice()).into()))
.map_err(|e| PkEncryptionError::Decode(e))
.map_err(PkEncryptionError::Decode)
}
}

Expand Down

0 comments on commit d17206b

Please sign in to comment.