mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-01 13:42:17 +00:00
Fix now that EncoderState
is generic
This commit is contained in:
parent
ffdd61bcc8
commit
3bc4581eb5
@ -67,7 +67,7 @@ const USABLE_BITS_PER_BYTE: usize = 7;
|
||||
#[derive(Debug)]
|
||||
pub struct EncoderState<T> {
|
||||
source: T,
|
||||
// A "chunk" is a section of the contained `BigUint` `USABLE_BITS_PER_BYTE` bits long
|
||||
// A "chunk" is a section of the `source` `USABLE_BITS_PER_BYTE` bits long
|
||||
num_chunks: usize,
|
||||
cur_chunk: usize,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user