aboutsummaryrefslogtreecommitdiff
path: root/src/stream/stream/buffer_unordered.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/stream/buffer_unordered.rs')
-rw-r--r--src/stream/stream/buffer_unordered.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/stream/stream/buffer_unordered.rs b/src/stream/stream/buffer_unordered.rs
index d64c142..91b0f6b 100644
--- a/src/stream/stream/buffer_unordered.rs
+++ b/src/stream/stream/buffer_unordered.rs
@@ -41,11 +41,7 @@ where
St: Stream,
St::Item: Future,
{
- pub(super) fn new(stream: St, n: usize) -> Self
- where
- St: Stream,
- St::Item: Future,
- {
+ pub(super) fn new(stream: St, n: usize) -> Self {
Self {
stream: super::Fuse::new(stream),
in_progress_queue: FuturesUnordered::new(),