diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2014-03-18 23:16:21 +0100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-18 16:29:57 -0700 |
| commit | 113596655aede43576c3107b62ba98ecaac5ebae (patch) | |
| tree | 040493187072e055f60159072ab2887657637272 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 848f7b734ec88964879f5a3051b940d48469ce2e (diff) | |
| download | rust-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
