diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-02-23 19:25:43 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-02-26 14:51:38 +0100 |
| commit | 2d6496dd8432c71b65d67c7216fbd4428c06527b (patch) | |
| tree | e82e379131bb08248dc4d625b19a3a53673957d4 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | 09130044ce7429beb95742afa7fd371960dbe607 (diff) | |
| download | rust-2d6496dd8432c71b65d67c7216fbd4428c06527b.tar.gz rust-2d6496dd8432c71b65d67c7216fbd4428c06527b.zip | |
Use .copy_from_slice() where applicable
.copy_from_slice() does the same job of .clone_from_slice(), but the former is explicitly for Copy elements and calls `memcpy` directly, and thus is it efficient without optimization too.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
