X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=vendor%2Ffutures-util%2Fsrc%2Fstream%2Fstream%2Fbuffer_unordered.rs;fp=vendor%2Ffutures-util%2Fsrc%2Fstream%2Fstream%2Fbuffer_unordered.rs;h=91b0f6bcce325a3c8829b0f3e3c6dca1e639f291;hb=353b0b1106c09291d3c691e2bd6290fdf14b6691;hp=d64c142b41c68315e2710cbed44811988dc63a82;hpb=9ffffee422eedc489e3035cb88b0dab8dc9ea408;p=rustc.git diff --git a/vendor/futures-util/src/stream/stream/buffer_unordered.rs b/vendor/futures-util/src/stream/stream/buffer_unordered.rs index d64c142b41..91b0f6bcce 100644 --- a/vendor/futures-util/src/stream/stream/buffer_unordered.rs +++ b/vendor/futures-util/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(),