clippy: Allow too-many-arguments on F*::montgomery_reduce

We need to reduce from eight limbs to four, so we need eight arguments.
This commit is contained in:
Jack Grigg 2021-03-03 21:17:46 +00:00
parent c13fc16ead
commit a3921fd38c
3 changed files with 2 additions and 1 deletions

View file

@ -307,6 +307,7 @@ impl Fp {
Fp::montgomery_reduce(r0, r1, r2, r3, r4, r5, r6, r7)
}
#[allow(clippy::too_many_arguments)]
#[inline(always)]
const fn montgomery_reduce(
r0: u64,

View file

@ -307,6 +307,7 @@ impl Fq {
Fq::montgomery_reduce(r0, r1, r2, r3, r4, r5, r6, r7)
}
#[allow(clippy::too_many_arguments)]
#[inline(always)]
const fn montgomery_reduce(
r0: u64,

View file

@ -4,7 +4,6 @@
#![allow(unknown_lints)]
#![allow(
clippy::op_ref,
clippy::too_many_arguments,
clippy::suspicious_arithmetic_impl,
clippy::same_item_push,
clippy::upper_case_acronyms,