Skip to content

Commit

Permalink
chore: Fix a new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Mar 11, 2024
1 parent 8d0e0f7 commit 56d122f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pub enum PickleError {
Base64(#[from] base64::DecodeError),
/// The encrypted pickle could not have been decrypted.
#[error("The pickle couldn't be decrypted: {0}")]
Decryption(#[from] crate::cipher::DecryptionError),
Decryption(#[from] cipher::DecryptionError),
/// The serialized Vodozemac object couldn't be deserialized.
#[error("The pickle couldn't be deserialized: {0}")]
Serialization(#[from] serde_json::Error),
Expand All @@ -256,7 +256,7 @@ pub enum LibolmPickleError {
Base64(#[from] Base64DecodeError),
/// The pickle could not have been decrypted.
#[error("The pickle couldn't be decrypted: {0}")]
Decryption(#[from] crate::cipher::DecryptionError),
Decryption(#[from] cipher::DecryptionError),
/// The pickle contains an invalid public key.
#[error("The pickle contained an invalid ed25519 public key {0}")]
PublicKey(#[from] KeyError),
Expand Down

0 comments on commit 56d122f

Please sign in to comment.