Commit cf77c16
committed
Auto merge of rust-lang#148157 - nnethercote:undo-chain, r=saethlin
Adjust successor iterators.
Because rust-lang#148054 was a slight perf regression.
The problem was seemingly because this iterator structure:
```
slice_iter.chain(Option_iter.chain(Option_iter))
```
changed to this:
```
slice_iter.chain(Option_iter).chain(Option_iter)
```
The commit also tweaks the `slice_iter` part, changing `into_iter` to `iter` and using `[]` instead of `(&[])`, for conciseness and consistency.
r? `@saethlin`File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments