Clippy formatting (#131)

* Clippy with Rust 1.67

* Clippy/Rustfmt with Rust 1.66.1
This commit is contained in:
Samuel Burnham
2023-01-31 17:53:15 -05:00
committed by GitHub
parent 74501936c3
commit b2adab610a
14 changed files with 60 additions and 71 deletions

View File

@@ -185,7 +185,7 @@ pub fn synthesize_bits<F: PrimeField, CS: ConstraintSystem<F>>(
.into_iter()
.map(|i| {
AllocatedBit::alloc(
cs.namespace(|| format!("bit {}", i)),
cs.namespace(|| format!("bit {i}")),
Some(bits.as_ref().unwrap()[i as usize]),
)
})