mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 16:23:12 +00:00
suppress incorrect Clippy error
This commit is contained in:
parent
967f7b1281
commit
e947a62483
@ -121,6 +121,10 @@ pub(crate) fn selector_polynomials<F: RichField + Extendable<D>, const D: usize>
|
|||||||
|
|
||||||
// Special case if we can use only one selector polynomial.
|
// Special case if we can use only one selector polynomial.
|
||||||
if max_gate_degree + num_gates - 1 <= max_degree {
|
if max_gate_degree + num_gates - 1 <= max_degree {
|
||||||
|
// We *want* `groups` to be a vector containing one Range (all gates are in one selector group),
|
||||||
|
// but Clippy doesn't trust us.
|
||||||
|
#[allow(clippy::single_range_in_vec_init)]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
vec![PolynomialValues::new(
|
vec![PolynomialValues::new(
|
||||||
instances
|
instances
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user