From 451d9026049e92e48aba5ed6d334f104bb940987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 21 Jul 2020 12:57:31 +0200 Subject: [PATCH] crypto: Allow that many arguments on the from_pickle session method. --- matrix_sdk_crypto/src/olm/session.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_sdk_crypto/src/olm/session.rs b/matrix_sdk_crypto/src/olm/session.rs index 2816e608..46470e1e 100644 --- a/matrix_sdk_crypto/src/olm/session.rs +++ b/matrix_sdk_crypto/src/olm/session.rs @@ -196,6 +196,7 @@ impl Session { /// /// * `last_use_time` - The timestamp that marks when the session was /// last used to encrypt or decrypt an Olm message. + #[allow(clippy::too_many_arguments)] pub fn from_pickle( user_id: Arc, device_id: Arc>,