From 3bc4581eb566bca851ebd25e7240c97d5328d35b Mon Sep 17 00:00:00 2001 From: Vurich Date: Tue, 12 Dec 2017 12:50:33 +0100 Subject: [PATCH] Fix now that `EncoderState` is generic --- varint-rs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varint-rs/src/lib.rs b/varint-rs/src/lib.rs index 92493622..4a0a4855 100644 --- a/varint-rs/src/lib.rs +++ b/varint-rs/src/lib.rs @@ -67,7 +67,7 @@ const USABLE_BITS_PER_BYTE: usize = 7; #[derive(Debug)] pub struct EncoderState { 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, }