Commit d89e4e2
committed
Redesign std::iter::Step
Remove the unused replace_one and replace_zero,
and rename methods to make Step about succ/pred operations.
The primary api is still forward (succ_n) and backward (pred_n),
but we provide stepwise methods for optimization purposes.1 parent 39e3eed commit d89e4e2
File tree
4 files changed
+530
-234
lines changed- src
- libcore
- iter
- tests
- librustc_index
- test/ui/impl-trait
4 files changed
+530
-234
lines changed
0 commit comments