From a3738d680542e34b5529207ee30491ed7b69ed71 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:42:44 -0400 Subject: [PATCH] remove hardcoded BufRead trait bounds (#288) --- src/stream/read/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>, }