diff --git a/src/stream/read/mod.rs b/src/stream/read/mod.rs index 866e6bab..ee5e4137 100644 --- a/src/stream/read/mod.rs +++ b/src/stream/read/mod.rs @@ -12,12 +12,12 @@ mod tests; /// /// This allows to read a stream of compressed data /// (good for files or heavy network stream). -pub struct Decoder<'a, R: BufRead> { +pub struct Decoder<'a, R> { reader: zio::Reader>, } /// An encoder that compress input data from another `Read`. -pub struct Encoder<'a, R: BufRead> { +pub struct Encoder<'a, R> { reader: zio::Reader>, }