Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamWuGit committed Mar 13, 2024
1 parent cbe5b1b commit 13cbfb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions halo2_proofs/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
use std::collections::HashMap;
use std::collections::HashSet;
use std::iter;
use std::mem;
use std::ops::{Add, Mul, Neg, Range};
use std::sync::Arc;
use std::time::{Duration, Instant};

use blake2b_simd::blake2b;
#[cfg(feature = "mock-batch-inv")]
Expand Down
6 changes: 5 additions & 1 deletion halo2_proofs/src/plonk/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,11 @@ impl<F: Field> ConstraintSystem<F> {

let mut lookups: Vec<_> = vec![];
for v in self.lookups_map.values() {
let LookupTracker { table, inputs, name } = v;
let LookupTracker {
table,
inputs,
name,
} = v;
let name = Box::leak(name.clone().into_boxed_str());
let mut args = vec![super::mv_lookup::Argument::new(
name,
Expand Down

0 comments on commit 13cbfb6

Please sign in to comment.