about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-14 11:07:29 -0800
committerGitHub <noreply@github.com>2016-11-14 11:07:29 -0800
commit2154588f7a71a788cd098081d1915e0dda705e1f (patch)
tree9e45f6fabb7da3575ccb7fb8acc72698581ef0c2 /src/test/incremental/thinlto
parent766f6e4782994ff9f0b0cad9af9cd63b5a2d0f0d (diff)
parentc36edc726156c7868c6845c0e39b5231e35bc1ff (diff)
downloadrust-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