diff options
| author | bors <bors@rust-lang.org> | 2016-11-14 11:07:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-14 11:07:29 -0800 |
| commit | 2154588f7a71a788cd098081d1915e0dda705e1f (patch) | |
| tree | 9e45f6fabb7da3575ccb7fb8acc72698581ef0c2 /src/test/incremental/thinlto | |
| parent | 766f6e4782994ff9f0b0cad9af9cd63b5a2d0f0d (diff) | |
| parent | c36edc726156c7868c6845c0e39b5231e35bc1ff (diff) | |
| download | rust-2154588f7a71a788cd098081d1915e0dda705e1f.tar.gz rust-2154588f7a71a788cd098081d1915e0dda705e1f.zip | |
Auto merge of #37740 - bluss:corrected-vec-collect, r=alexcrichton
Restore Vec::from_iter() specialization Since I said "no intentional functional change" in the previous commit, I guess it was inevitable there were unintentional changes. Not functional, but optimization-wise. This restores the extend specialization's use in Vec::from_iter. (commit 1). Also use specialization in from_iter to reduce allocation code duplication for the TrustedLen case (commit 2). Bug introduced in PR #37709
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
