Skip to content

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Apr 3, 2014

std: override clone_from for Vec.

A vector can reuse its allocation (and the allocations/resources of any
contained values) when cloning into an already-instantiated vector, so
we might as well do so.

A vector can reuse its allocation (and the allocations/resources of any
contained values) when cloning into an already-instantiated vector, so
we might as well do so.
@bors bors closed this in e7fe207 Apr 4, 2014
@huonw huonw deleted the vec-clone-from branch December 4, 2014 02:03
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants