mirror of https://github.com/zcash/halo2.git
minor clippy fixes
This commit is contained in:
parent
e3c6542e83
commit
e23d148b72
|
@ -315,7 +315,7 @@ fn main() {
|
|||
|
||||
let circuit: MyCircuit<Fp> = MyCircuit {
|
||||
a: None,
|
||||
lookup_table: lookup_table,
|
||||
lookup_table,
|
||||
};
|
||||
|
||||
let root = BitMapBackend::new("example-circuit-layout.png", (1024, 768)).into_drawing_area();
|
||||
|
|
|
@ -233,7 +233,7 @@ fn test_slot_in() {
|
|||
region_index: 0.into(),
|
||||
columns: vec![Column::new(0, Any::Advice), Column::new(1, Any::Advice)]
|
||||
.into_iter()
|
||||
.map(|a| Column::<Any>::from(a).into())
|
||||
.map(|a| a.into())
|
||||
.collect(),
|
||||
row_count: 15,
|
||||
},
|
||||
|
@ -241,7 +241,7 @@ fn test_slot_in() {
|
|||
region_index: 1.into(),
|
||||
columns: vec![Column::new(2, Any::Advice)]
|
||||
.into_iter()
|
||||
.map(|a| Column::<Any>::from(a).into())
|
||||
.map(|a| a.into())
|
||||
.collect(),
|
||||
row_count: 10,
|
||||
},
|
||||
|
@ -249,7 +249,7 @@ fn test_slot_in() {
|
|||
region_index: 2.into(),
|
||||
columns: vec![Column::new(2, Any::Advice), Column::new(0, Any::Advice)]
|
||||
.into_iter()
|
||||
.map(|a| Column::<Any>::from(a).into())
|
||||
.map(|a| a.into())
|
||||
.collect(),
|
||||
row_count: 10,
|
||||
},
|
||||
|
|
|
@ -397,7 +397,7 @@ fn plonk_api() {
|
|||
|
||||
let circuit: MyCircuit<Fp> = MyCircuit {
|
||||
a: Some(a),
|
||||
lookup_table: lookup_table,
|
||||
lookup_table,
|
||||
};
|
||||
|
||||
// Initialize the proving key
|
||||
|
|
Loading…
Reference in New Issue