mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 23:03:08 +00:00
Clippy
This commit is contained in:
parent
13f470e47d
commit
73c1733e6a
@ -385,8 +385,8 @@ impl<F: Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
target_partition.merge(a, b);
|
||||
}
|
||||
|
||||
let wire_partitions = target_partition.wire_partitions();
|
||||
wire_partitions.get_sigma_polys(degree_log, k_is, subgroup)
|
||||
let wire_partition = target_partition.wire_partition();
|
||||
wire_partition.get_sigma_polys(degree_log, k_is, subgroup)
|
||||
}
|
||||
|
||||
/// Builds a "full circuit", with both prover and verifier data.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::collections::HashMap;
|
||||
use std::fmt::Debug;
|
||||
use std::hash::Hash;
|
||||
|
||||
@ -81,7 +81,7 @@ impl<T: Debug + Copy + Eq + PartialEq + Hash, F: Fn(T) -> usize> TargetPartition
|
||||
}
|
||||
}
|
||||
impl<F: Fn(Target) -> usize> TargetPartition<Target, F> {
|
||||
pub fn wire_partitions(&mut self) -> WirePartitions {
|
||||
pub fn wire_partition(&mut self) -> WirePartitions {
|
||||
let mut partition = HashMap::<_, Vec<_>>::new();
|
||||
let nodes = self.forest.clone();
|
||||
for x in nodes {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user