Add Read bound to allow into_inner to be used.

This commit is contained in:
Drake Tetreault authored and Martin Algesten committed 2020-06-16 10:04:52 +02:00
1 parent 069775d3e0
commit e6cbad660d
1 file changed
+1 -1
+1 -1
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
R: Read,
Stream: From<R>,