Skip to content

Commit

Permalink
doc(crypto): Fix a typo
Browse files Browse the repository at this point in the history
doc(crypto): Fix a typo
  • Loading branch information
Hywan authored Jun 19, 2023
2 parents 4d3ca15 + 87a8ac7 commit 67ade0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/matrix-sdk-crypto/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ pub enum MegolmError {
#[error(transparent)]
JsonError(#[from] SerdeError),

/// Decryption failed because we're missing the room key that was to encrypt
/// the event.
/// Decryption failed because we're missing the room key that was used to
/// encrypt the event.
#[error("Can't find the room key to decrypt the event, withheld code: {0:?}")]
MissingRoomKey(Option<WithheldCode>),

Expand Down

0 comments on commit 67ade0a

Please sign in to comment.