about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-04 11:07:18 +0200
committerGitHub <noreply@github.com>2018-04-04 11:07:18 +0200
commit0cccf810adcbdb75c13e8872f090118ae2cc9541 (patch)
tree104af964930e40e9428e73f62d4154dc7a30a0de /src/rustllvm/RustWrapper.cpp
parentb5ceda86aa4a374810a214cfd5366c24f6048342 (diff)
parentda0ceeff5a7839427c751cf056e16e67217b12ea (diff)
downloadrust-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