diff --git a/crates/matrix-sdk-crypto/src/error.rs b/crates/matrix-sdk-crypto/src/error.rs index 00fe81e5a6e..430364350a0 100644 --- a/crates/matrix-sdk-crypto/src/error.rs +++ b/crates/matrix-sdk-crypto/src/error.rs @@ -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),