Skip to content

Commit

Permalink
fix: rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Aug 13, 2023
1 parent 5eb776b commit 839ccb7
Showing 1 changed file with 35 additions and 49 deletions.
84 changes: 35 additions & 49 deletions halo2_proofs/src/plonk/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,45 +325,39 @@ where
gamma,
x,
))
.chain(
lookups
.iter()
.zip(vk.cs.lookups.iter())
.flat_map(move |(p, argument)| {
p.expressions(
l_0,
l_last,
l_blind,
argument,
theta,
beta,
gamma,
advice_evals,
fixed_evals,
instance_evals,
challenges,
)
}),
)
.chain(
shuffles
.iter()
.zip(vk.cs.shuffles.iter())
.flat_map(move |(p, argument)| {
p.expressions(
l_0,
l_last,
l_blind,
argument,
theta,
gamma,
advice_evals,
fixed_evals,
instance_evals,
challenges,
)
}),
)
.chain(lookups.iter().zip(vk.cs.lookups.iter()).flat_map(
move |(p, argument)| {
p.expressions(
l_0,
l_last,
l_blind,
argument,
theta,
beta,
gamma,
advice_evals,
fixed_evals,
instance_evals,
challenges,
)
},
))
.chain(shuffles.iter().zip(vk.cs.shuffles.iter()).flat_map(
move |(p, argument)| {
p.expressions(
l_0,
l_last,
l_blind,
argument,
theta,
gamma,
advice_evals,
fixed_evals,
instance_evals,
challenges,
)
},
))
},
);

Expand Down Expand Up @@ -417,16 +411,8 @@ where
},
))
.chain(permutation.queries(vk, x))
.chain(
lookups
.iter()
.flat_map(move |p| p.queries(vk, x)),
)
.chain(
shuffles
.iter()
.flat_map(move |p| p.queries(vk, x)),
)
.chain(lookups.iter().flat_map(move |p| p.queries(vk, x)))
.chain(shuffles.iter().flat_map(move |p| p.queries(vk, x)))
},
)
.chain(
Expand Down

0 comments on commit 839ccb7

Please sign in to comment.