Skip to content

Commit c359440

Browse files
committed
Fix a couple of typos
1 parent 7e005ab commit c359440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/error.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub enum DecryptionErrorCode {
1616
/// device we received the room key from and the identity keys recorded in
1717
/// the plaintext of the room key to-device message.
1818
MismatchedIdentityKeys,
19-
/// Other failuer
19+
/// Other failure.
2020
UnableToDecrypt,
2121
}
2222

@@ -30,7 +30,7 @@ pub struct MegolmDecryptionError {
3030
/// detailed description
3131
#[wasm_bindgen(readonly)]
3232
pub description: JsString,
33-
/// Witheld code if any. Only for `UnknownMessageIndex` error code
33+
/// Withheld code if any. Only for `UnknownMessageIndex` error code
3434
#[wasm_bindgen(readonly)]
3535
pub maybe_withheld: Option<JsString>,
3636
}

0 commit comments

Comments
 (0)