From e6cbad660d964202ed7a43a1584895566f57c3ad Mon Sep 17 00:00:00 2001 From: Drake Tetreault Date: Sun, 19 Apr 2020 08:56:24 -0700 Subject: [PATCH] Add Read bound to allow into_inner to be used. --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index e01d1da..b6b999e 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -120,7 +120,7 @@ impl Read for Stream { } } -impl From> for Stream +impl From> for Stream where R: Read, Stream: From,