diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-04-03 22:28:45 +1100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-03 13:42:32 -0700 |
| commit | f5a4837df0885368352d118e1e71f4853bf55bf8 (patch) | |
| tree | 782fff3828b54a74c2ec885379414b350e951c8b /src/rustllvm/RustWrapper.cpp | |
| parent | 0bd6f2ce0b650ebcb1d2b05dc501a9ed4907b6d2 (diff) | |
| download | rust-f5a4837df0885368352d118e1e71f4853bf55bf8.tar.gz rust-f5a4837df0885368352d118e1e71f4853bf55bf8.zip | |
std: override clone_from for Vec.
A vector can reuse its allocation (and the allocations/resources of any contained values) when cloning into an already-instantiated vector, so we might as well do so.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
