diff --git a/src/response.rs b/src/response.rs index a0fe15e..4efb520 100644 --- a/src/response.rs +++ b/src/response.rs @@ -288,7 +288,7 @@ impl Response { /// assert_eq!(bytes.len(), len); /// # } /// ``` - pub fn into_reader(self) -> impl Read + Send + Sync { + pub fn into_reader(self) -> impl Read + Send { // let is_http10 = self.http_version().eq_ignore_ascii_case("HTTP/1.0"); let is_close = self @@ -327,7 +327,7 @@ impl Response { match (use_chunked, limit_bytes) { (true, _) => Box::new(PoolReturnRead::new(unit, ChunkDecoder::new(stream))) - as Box, + as Box, (false, Some(len)) => { Box::new(PoolReturnRead::new(unit, LimitedRead::new(stream, len))) }