diff options
| author | bors <bors@rust-lang.org> | 2018-05-02 02:10:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-02 02:10:51 +0000 |
| commit | a2726846f6d6280b752019472b6bd791c0752006 (patch) | |
| tree | 4f3559ebd370c2e5660c25283efd63f771e126d8 /src/test/incremental/thinlto | |
| parent | 5a662bff7ae1d84526c62aebead76f5079f6aee4 (diff) | |
| parent | f0f26b875a1ae3c5d7aad4ce865bf311169cc2a9 (diff) | |
| download | rust-a2726846f6d6280b752019472b6bd791c0752006.tar.gz rust-a2726846f6d6280b752019472b6bd791c0752006.zip | |
Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis
rustc: return iterators from Terminator(Kind)::successors(_mut). Minor cleanup (and potentially speedup) prompted by @nnethercote's `SmallVec` experiments. This PR assumes `.count()` and `.nth(i)` on `iter::Chain<option::IntoIter, slice::Iter(Mut)>` are `O(1)`, but otherwise all of the uses appear to immediately iterate through the successors. r? @nikomatsakis
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
