crypto: Silence a couple of clippy warnings

master
Damir Jelić 2021-07-19 10:49:22 +02:00
parent 24377a45ff
commit 26310def0a
2 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,7 @@ impl From<Arc<Mutex<InnerRequest>>> for RequestHandle {
} }
impl VerificationRequest { impl VerificationRequest {
#[allow(clippy::too_many_arguments)]
pub(crate) fn new( pub(crate) fn new(
cache: VerificationCache, cache: VerificationCache,
account: ReadOnlyAccount, account: ReadOnlyAccount,

View File

@ -183,6 +183,7 @@ impl Sas {
/// ///
/// Returns the new `Sas` object and a `StartEventContent` that needs to be /// Returns the new `Sas` object and a `StartEventContent` that needs to be
/// sent out through the server to the other device. /// sent out through the server to the other device.
#[allow(clippy::too_many_arguments)]
pub(crate) fn start( pub(crate) fn start(
account: ReadOnlyAccount, account: ReadOnlyAccount,
private_identity: PrivateCrossSigningIdentity, private_identity: PrivateCrossSigningIdentity,