File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
futures-util/src/stream/stream Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 41
41
St : Stream ,
42
42
St :: Item : Future ,
43
43
{
44
- pub ( super ) fn new ( stream : St , n : usize ) -> Self
45
- where
46
- St : Stream ,
47
- St :: Item : Future ,
48
- {
44
+ pub ( super ) fn new ( stream : St , n : usize ) -> Self {
49
45
Self {
50
46
stream : super :: Fuse :: new ( stream) ,
51
47
in_progress_queue : FuturesUnordered :: new ( ) ,
Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ pin_project! {
21
21
}
22
22
}
23
23
24
- impl < St : Stream > Chunks < St >
25
- where
26
- St : Stream ,
27
- {
24
+ impl < St : Stream > Chunks < St > {
28
25
pub ( super ) fn new ( stream : St , capacity : usize ) -> Self {
29
26
assert ! ( capacity > 0 ) ;
30
27
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ pin_project! {
20
20
}
21
21
}
22
22
23
- impl < St : Stream > ReadyChunks < St >
24
- where
25
- St : Stream ,
26
- {
23
+ impl < St : Stream > ReadyChunks < St > {
27
24
pub ( super ) fn new ( stream : St , capacity : usize ) -> Self {
28
25
assert ! ( capacity > 0 ) ;
29
26
You can’t perform that action at this time.
0 commit comments