From 35247fac2abe9e3b50db0c97414800e596412c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 8 Dec 2020 10:50:58 +0100 Subject: [PATCH] crypto: Fix a lint issue. --- matrix_sdk_crypto/src/olm/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/olm/account.rs b/matrix_sdk_crypto/src/olm/account.rs index 0557129a..d181aae6 100644 --- a/matrix_sdk_crypto/src/olm/account.rs +++ b/matrix_sdk_crypto/src/olm/account.rs @@ -170,7 +170,7 @@ impl Account { return Err(OlmError::SessionWedged(user_id, sender_key)); } } - Err(e) => return Err(e.into()), + Err(e) => return Err(e), }; debug!("Decrypted a to-device event {:?}", event);