Add Read bound to allow into_inner to be used.
This commit is contained in:
committed by
Martin Algesten
parent
069775d3e0
commit
e6cbad660d
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user