Commit 8ad5f21
authored
Rollup merge of rust-lang#83560 - m-ou-se:io-chain-debug, r=sfackler
Derive Debug for io::Chain instead of manually implementing it.
This derives Debug for io::Chain instead of manually implementing it.
The manual implementation has the same bounds, so I don't think there's any reason for a manual implementation. The names used in the derive implementation are even nicer (`first`/`second`) than the manual implementation (`t`/`u`), and include the `done_first` field too.1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2114 | 2114 | | |
2115 | 2115 | | |
2116 | 2116 | | |
| 2117 | + | |
2117 | 2118 | | |
2118 | 2119 | | |
2119 | 2120 | | |
| |||
2195 | 2196 | | |
2196 | 2197 | | |
2197 | 2198 | | |
2198 | | - | |
2199 | | - | |
2200 | | - | |
2201 | | - | |
2202 | | - | |
2203 | | - | |
2204 | | - | |
2205 | 2199 | | |
2206 | 2200 | | |
2207 | 2201 | | |
| |||
0 commit comments