diff options
| author | Mike Hommey <mh@glandium.org> | 2020-11-18 12:57:40 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2020-12-08 13:05:34 +0900 |
| commit | 76bd14548910a13049b59b14e09a80cfd3a29b77 (patch) | |
| tree | f1445fe09c640abf23df7892d5d1c78ad948bcc7 /src/test/rustdoc/deprecated.rs | |
| parent | 87776d7d5322422e5239e153e793b687f7f9c379 (diff) | |
| download | rust-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 'src/test/rustdoc/deprecated.rs')
0 files changed, 0 insertions, 0 deletions
