clippy suggestions

This commit is contained in:
Nicholas Ward 2023-09-08 10:40:31 -07:00
parent 8af3b0feb4
commit 7415810f19
2 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ fn bigint_to_columns<const N: usize>(num: &BigInt) -> [i64; N] {
/// NB: `operation` can set the higher order elements in its result to
/// zero if they are not used.
pub(crate) fn generate_modular_op<F: PrimeField64>(
lv: &mut [F],
lv: &[F],
nv: &mut [F],
filter: usize,
pol_input: [i64; 2 * N_LIMBS - 1],

View File

@ -68,7 +68,7 @@ pub(crate) fn mem_read_with_log<F: Field>(
pub(crate) fn mem_write_log<F: Field>(
channel: MemoryChannel,
address: MemoryAddress,
state: &mut GenerationState<F>,
state: &GenerationState<F>,
val: U256,
) -> MemoryOp {
MemoryOp::new(
@ -96,7 +96,7 @@ pub(crate) fn mem_read_code_with_log_and_fill<F: Field>(
pub(crate) fn mem_read_gp_with_log_and_fill<F: Field>(
n: usize,
address: MemoryAddress,
state: &mut GenerationState<F>,
state: &GenerationState<F>,
row: &mut CpuColumnsView<F>,
) -> (U256, MemoryOp) {
let (val, op) = mem_read_with_log(MemoryChannel::GeneralPurpose(n), address, state);