Skip to content

Commit 8664e7a

Browse files
committed
Allowing dead-code for from_bit_iter
1 parent aba630e commit 8664e7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/bytes32ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub trait Bytes32Ext: Index<usize> + Sized {
1515
fn common_prefix_nibbles_len(&self, other: &[u8; 32]) -> usize {
1616
self.common_prefix_bits_len(other) / 4
1717
}
18+
#[allow(dead_code)]
1819
/// Constructs a `HashValue` from an iterator of bits.
1920
fn from_bit_iter(iter: impl ExactSizeIterator<Item = bool>) -> Option<Self>;
2021
}

0 commit comments

Comments
 (0)