mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
clippy suggestions
This commit is contained in:
parent
8af3b0feb4
commit
7415810f19
@ -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],
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user