crypto: Silence a couple of clippy warnings

This commit is contained in:
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 {
#[allow(clippy::too_many_arguments)]
pub(crate) fn new(
cache: VerificationCache,
account: ReadOnlyAccount,

View file

@ -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,