about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-03 04:08:15 +0200
committerGitHub <noreply@github.com>2019-10-03 04:08:15 +0200
commitc4f8fd2bf5b96cef5ea42d833e9caccf002cf5e9 (patch)
treebc0a35398302bac8be9b3739553550f2cd0fe621 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parentfaf2e8087c54d2a778e293f093a34fa18f48f0f2 (diff)
parent864e6feaf857f4a48ace3eafd2003a32ac46602b (diff)
downloadrust-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