fix(backend-cpu): fix rust lint error

See https://github.com/zama-ai/concrete/actions/runs/6690310177/job/18175401058#step:9:94
This commit is contained in:
Alexandre Péré
2023-10-30 10:01:04 +01:00
committed by rudy-6-4
parent c67da66d86
commit 211dcd0ad7
4 changed files with 4 additions and 2 deletions

View File

@@ -52,6 +52,8 @@ pub struct Range {
pub end: u64,
}
#[allow(unknown_lints)]
#[allow(clippy::into_iter_without_iter)]
impl IntoIterator for &Range {
type Item = u64;

View File

@@ -18,6 +18,8 @@ pub enum Transition {
#[derive(Clone, Debug, Default)]
pub struct InstructionPartition {
// The partition assigned to the instruction
#[allow(unknown_lints)]
#[allow(clippy::struct_field_names)]
pub instruction_partition: PartitionIndex,
// How the input are made compatible with the instruction partition
pub inputs_transition: Vec<Option<Transition>>,