about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2020-11-18 12:57:40 +0900
committerMike Hommey <mh@glandium.org>2020-12-08 13:05:34 +0900
commit76bd14548910a13049b59b14e09a80cfd3a29b77 (patch)
treef1445fe09c640abf23df7892d5d1c78ad948bcc7 /compiler
parent87776d7d5322422e5239e153e793b687f7f9c379 (diff)
downloadrust-76bd14548910a13049b59b14e09a80cfd3a29b77.tar.gz
rust-76bd14548910a13049b59b14e09a80cfd3a29b77.zip
Do not inline finish_grow
We also change the specialization of `SpecFromIterNested::from_iter` for
`TrustedLen` to use `Vec::with_capacity` when the iterator has a proper size
hint, instead of `Vec::new`, avoiding calls to `grow_*` and thus
`finish_grow` in some fully inlinable cases, which would regress with
this change.

Fixes #78471.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions