Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Jul 3, 2024
1 parent c32e179 commit c021683
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion executor/src/witgen/data_structures/column_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl<V, T: PolynomialTypeTrait> ColumnMap<V, T> {
}

pub fn keys(&self) -> impl Iterator<Item = PolyID> {
self.column_id_range.clone().into_iter().map(|i| PolyID {
self.column_id_range.clone().map(|i| PolyID {
id: i as u64,
ptype: T::P_TYPE,
})
Expand Down
2 changes: 1 addition & 1 deletion executor/src/witgen/machines/block_machine.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::fmt::Display;
use std::iter;
use std::ops::Range;


use super::{EvalResult, FixedData, FixedLookup};

Expand Down
5 changes: 2 additions & 3 deletions executor/src/witgen/rows.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use std::{
collections::HashSet,
fmt::Display,
ops::{Add, Range, Sub},
ops::{Add, Sub},
};

use itertools::Itertools;
use powdr_ast::analyzed::{
AlgebraicExpression as Expression, AlgebraicReference, PolyID, PolynomialType,
AlgebraicExpression as Expression, AlgebraicReference, PolyID,
};
use powdr_number::{DegreeType, FieldElement};

Expand Down Expand Up @@ -265,7 +265,6 @@ impl<T: FieldElement> Row<T> {
.into_option()
.map(|(min, max)| min..(max + 1))
.unwrap_or_default();
println!("Creating row with columns: {:?}", column_id_range);

let values = WitnessColumnMap::from(
column_id_range.clone(),
Expand Down

0 comments on commit c021683

Please sign in to comment.