minor clippy fixes

This commit is contained in:
Sean Bowe 2021-07-22 12:07:17 -06:00
parent e3c6542e83
commit e23d148b72
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
3 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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,
},

View File

@ -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