Add Read bound to allow into_inner to be used.

This commit is contained in:
Drake Tetreault
2020-04-19 08:56:24 -07:00
committed by Martin Algesten
parent 069775d3e0
commit e6cbad660d

View File

@@ -120,7 +120,7 @@ impl Read for Stream {
} }
} }
impl<R> From<ChunkDecoder<R>> for Stream impl<R: Read> From<ChunkDecoder<R>> for Stream
where where
R: Read, R: Read,
Stream: From<R>, Stream: From<R>,