mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-10 17:53:06 +00:00
Silence Clippy on main (#402)
* Silence Clippy on main * Fix a `unnecessary_to_owned`
This commit is contained in:
parent
7d574c8620
commit
c4549c4cc5
@ -72,7 +72,7 @@ impl<F: Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
state = HashOutTarget::from_vec(outputs[0..4].to_vec());
|
||||
}
|
||||
|
||||
let index = self.le_sum(leaf_index_bits[proof.siblings.len()..].to_vec().into_iter());
|
||||
let index = self.le_sum(leaf_index_bits[proof.siblings.len()..].iter().copied());
|
||||
|
||||
for i in 0..4 {
|
||||
self.random_access(
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::len_without_is_empty)]
|
||||
#![allow(clippy::needless_range_loop)]
|
||||
#![allow(clippy::return_self_not_must_use)]
|
||||
#![feature(asm_sym)]
|
||||
#![feature(generic_const_exprs)]
|
||||
#![feature(specialization)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user