From 4214118a6f8d268d07bc3911e91cbcedf5667666 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:26:52 -0400 Subject: [PATCH] remove hardcoded BufRead trait bounds --- 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>, }