about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-04-03 22:28:45 +1100
committerAlex Crichton <alex@alexcrichton.com>2014-04-03 13:42:32 -0700
commitf5a4837df0885368352d118e1e71f4853bf55bf8 (patch)
tree782fff3828b54a74c2ec885379414b350e951c8b /src/rustllvm/RustWrapper.cpp
parent0bd6f2ce0b650ebcb1d2b05dc501a9ed4907b6d2 (diff)
downloadrust-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