Commit 28dfa30
Refactor StreamExt#forward type bounds
This makes the bounds easier to understand in documentation
by removing bounds referring to each other.
Previously, the bounds in documentation appeared as such:
S: Sink<Self::Ok>,
Self: TryStream<Error = <S as Sink<Self::Ok>>::Error>,
This changes them to the following simpler to understand form.
S: Sink<Self::Ok, Error = Self::Error>,
Self: TryStream,1 parent 9c1b2d4 commit 28dfa30
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
1234 | | - | |
1235 | | - | |
| 1234 | + | |
| 1235 | + | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| |||
0 commit comments