diff --git a/src/lib.rs b/src/lib.rs index d61088d..3862c59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -271,7 +271,7 @@ where } let mut pipe = Pipe { - reader: &mut Box::new(reader), + reader, buffer: &mut [0; READER_BUFFER_SIZE], };