From 238301d68fb50ddfc865d297fb8438417ad19ae1 Mon Sep 17 00:00:00 2001 From: ambrona Date: Wed, 24 Apr 2024 18:37:54 +0200 Subject: [PATCH] Remove useless function --- halo2_proofs/src/helpers.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/halo2_proofs/src/helpers.rs b/halo2_proofs/src/helpers.rs index 6d9e8bf26..eb0c0c3b2 100644 --- a/halo2_proofs/src/helpers.rs +++ b/halo2_proofs/src/helpers.rs @@ -101,13 +101,6 @@ pub trait SerdePrimeField: PrimeField + SerdeObject { } impl SerdePrimeField for F {} -/// Writes the first `bits.len()` bits of a `u8` into `bits`. -pub fn unpack(byte: u8, bits: &mut [bool]) { - for (bit_index, bit) in bits.iter_mut().enumerate() { - *bit = (byte >> bit_index) & 1 == 1; - } -} - /// Reads a vector of polynomials from buffer pub(crate) fn read_polynomial_vec( reader: &mut R,