diff options
| author | kennytm <kennytm@gmail.com> | 2018-04-04 11:07:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-04 11:07:18 +0200 |
| commit | 0cccf810adcbdb75c13e8872f090118ae2cc9541 (patch) | |
| tree | 104af964930e40e9428e73f62d4154dc7a30a0de /src/rustllvm/RustWrapper.cpp | |
| parent | b5ceda86aa4a374810a214cfd5366c24f6048342 (diff) | |
| parent | da0ceeff5a7839427c751cf056e16e67217b12ea (diff) | |
| download | rust-0cccf810adcbdb75c13e8872f090118ae2cc9541.tar.gz rust-0cccf810adcbdb75c13e8872f090118ae2cc9541.zip | |
Rollup merge of #49559 - djc:resize-with, r=TimNN
Introduce Vec::resize_with method (see #41758) In #41758, the libs team decided they preferred `Vec::resize_with` over `Vec::resize_default()`. Here is an implementation to get this moving forward. I don't know what the removal process for `Vec::resize_default()` should be, so I've left it in place for now. Would be happy to follow up with its removal.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
