diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-03 04:08:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-03 04:08:15 +0200 |
| commit | c4f8fd2bf5b96cef5ea42d833e9caccf002cf5e9 (patch) | |
| tree | bc0a35398302bac8be9b3739553550f2cd0fe621 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | faf2e8087c54d2a778e293f093a34fa18f48f0f2 (diff) | |
| parent | 864e6feaf857f4a48ace3eafd2003a32ac46602b (diff) | |
| download | rust-c4f8fd2bf5b96cef5ea42d833e9caccf002cf5e9.tar.gz rust-c4f8fd2bf5b96cef5ea42d833e9caccf002cf5e9.zip | |
Rollup merge of #64975 - crgl:clone-from-linked-list, r=bluss
Implement Clone::clone_from for LinkedList See #28481. This represents a substantial speedup when the list sizes are comparable, and shouldn't ever be significantly worse. Technically split_off is doing an unnecessary search, but the code is hopefully cleaner as a result. I'm happy to rework anything that needs to be changed as well!
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
