From 26310def0ad90021741bfd4192f097e4768978eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 19 Jul 2021 10:49:22 +0200 Subject: [PATCH] crypto: Silence a couple of clippy warnings --- matrix_sdk_crypto/src/verification/requests.rs | 1 + matrix_sdk_crypto/src/verification/sas/mod.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/matrix_sdk_crypto/src/verification/requests.rs b/matrix_sdk_crypto/src/verification/requests.rs index 41d1081d..f20d6d15 100644 --- a/matrix_sdk_crypto/src/verification/requests.rs +++ b/matrix_sdk_crypto/src/verification/requests.rs @@ -104,6 +104,7 @@ impl From>> for RequestHandle { } impl VerificationRequest { + #[allow(clippy::too_many_arguments)] pub(crate) fn new( cache: VerificationCache, account: ReadOnlyAccount, diff --git a/matrix_sdk_crypto/src/verification/sas/mod.rs b/matrix_sdk_crypto/src/verification/sas/mod.rs index c382205f..d4b06949 100644 --- a/matrix_sdk_crypto/src/verification/sas/mod.rs +++ b/matrix_sdk_crypto/src/verification/sas/mod.rs @@ -183,6 +183,7 @@ impl Sas { /// /// Returns the new `Sas` object and a `StartEventContent` that needs to be /// sent out through the server to the other device. + #[allow(clippy::too_many_arguments)] pub(crate) fn start( account: ReadOnlyAccount, private_identity: PrivateCrossSigningIdentity,