summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorNeil Roberts <bpeeluk@yahoo.co.uk>2023-01-28 14:19:01 +0100
committerNeil Roberts <bpeeluk@yahoo.co.uk>2023-01-28 20:37:01 +0100
commitba80c662f448c69cbd184d18630b8824f0169b2e (patch)
tree9204e8b8b73c81e9b386b1a5b4f16144ba1b0a66 /tests/rustdoc-js-std/parser-errors.js
parentd6f0642827e21a088b0130c84857d84f5433301d (diff)
downloadrust-ba80c662f448c69cbd184d18630b8824f0169b2e.tar.gz
slice: Add a specialization for clone_into when T is Copy
The implementation for the ToOwned::clone_into method on [T] is a copy of the code for vec::clone_from. In 361398009be6 the code for vec::clone_from gained a specialization for when T is Copy. This commit copies that specialization over to the clone_into implementation.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions