Skip to content

Commit 4c45443

Browse files
author
Tyler Neely
committed
Remove redundant Sized bound
1 parent 53fd345 commit 4c45443

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: src/stream/stream.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,7 @@ impl<S: futures::Stream> Fuse<S> {
213213
/// Consumes this `Fuse` and returns the inner
214214
/// `Stream`, unfusing it if it had become
215215
/// fused.
216-
pub fn into_inner(self) -> S
217-
where
218-
S: Sized,
219-
{
216+
pub fn into_inner(self) -> S {
220217
self.stream
221218
}
222219
}

0 commit comments

Comments
 (0)