Introduce the `KnownSize` iterator wrapper, which allows providing the size at construction time. This provides an `ExactSizeIterator` implemenation so we can check a generator's value count during testing. |
||
|---|---|---|
| .. | ||
| compiler-builtins/libm | ||
Introduce the `KnownSize` iterator wrapper, which allows providing the size at construction time. This provides an `ExactSizeIterator` implemenation so we can check a generator's value count during testing. |
||
|---|---|---|
| .. | ||
| compiler-builtins/libm | ||