Commit 2495b06
committed
Merge #114: Call through to inner size_hint
2a12d2e Call through to inner size_hint (Tobin C. Harding)
0336da0 Remove unnecessary whitespace (Tobin C. Harding)
Pull request description:
Currently our `size_hint` methods are calling `len` (from `ExactSizeIterator`) which is incorrect. We should in fact call `size_hint` on the inner iterator.
ACKs for top commit:
apoelstra:
ACK 2a12d2e
clarkmoody:
ACK 2a12d2e
Tree-SHA512: 75c69fa306c76045f465813e9b696788ff72899b6cf9f7347489a12f9c31b8baba0f1dd5067edd5c7ad117e3f82b1491555b91cc628ed7816a4135e24e6f000a1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
| 210 | + | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
234 | | - | |
235 | | - | |
| 233 | + | |
236 | 234 | | |
237 | 235 | | |
238 | 236 | | |
| |||
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
258 | | - | |
259 | | - | |
| 256 | + | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
| |||
279 | 276 | | |
280 | 277 | | |
281 | 278 | | |
282 | | - | |
283 | | - | |
| 279 | + | |
284 | 280 | | |
285 | 281 | | |
286 | 282 | | |
| |||
0 commit comments