diff options
| author | Josh Stone <jistone@redhat.com> | 2020-03-20 15:28:26 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-04-06 15:50:59 -0700 |
| commit | e8339e820b0c4e7c9a26a3e3495b7655e60bd102 (patch) | |
| tree | b74d61092274bfd11ac9d2861fb6b8ce821a253e /src/test/ui/thinlto | |
| parent | 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 (diff) | |
| download | rust-e8339e820b0c4e7c9a26a3e3495b7655e60bd102.tar.gz rust-e8339e820b0c4e7c9a26a3e3495b7655e60bd102.zip | |
Use split_at in slice's ToOwned::clone_into
It appears to codegen slightly more efficiently with `split_at` taking two slices at once, rather than slicing across different calls.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
