about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2014-03-18 23:16:21 +0100
committerAlex Crichton <alex@alexcrichton.com>2014-03-18 16:29:57 -0700
commit113596655aede43576c3107b62ba98ecaac5ebae (patch)
tree040493187072e055f60159072ab2887657637272 /src/rustllvm/ExecutionEngineWrapper.cpp
parent848f7b734ec88964879f5a3051b940d48469ce2e (diff)
downloadrust-113596655aede43576c3107b62ba98ecaac5ebae.tar.gz
rust-113596655aede43576c3107b62ba98ecaac5ebae.zip
Made the `clone_from` implementation for `~T` reuse the `T` itself if
possible by also calling `clone_from` on it.

In general, `Clone` implementors that overwrite `clone_from`
should try to to use it recursivly for substructures.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions