crypto: Better grammar for a panic message.

master
Damir Jelić 2020-08-13 15:59:17 +02:00
parent 87d0102663
commit 0245782cf4
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ impl OlmMachine {
}; };
if session.expired() { if session.expired() {
panic!("Session is expired"); panic!("Session expired");
} }
Ok(session.encrypt(content).await) Ok(session.encrypt(content).await)