crypto: Better grammar for a panic message.

This commit is contained in:
Damir Jelić 2020-08-13 15:59:17 +02:00
parent 87d0102663
commit 0245782cf4

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)