Skip to content

Implement SmallVec::split_off - #340

Merged
mbrubeck merged 2 commits into
servo:v2from
arthurprs:v2
Mar 3, 2024
Merged

Implement SmallVec::split_off #340
mbrubeck merged 2 commits into
servo:v2from
arthurprs:v2

Conversation

@arthurprs

Copy link
Copy Markdown
Contributor

Implements SmallVec::split_off, which is like an optimized from_iter(other.drain(at..)). This also includes some recent developments from Vec.

Also includes a commit for mentioning drain_filter feature in the top level docs.

@mbrubeck mbrubeck left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mbrubeck
mbrubeck added this pull request to the merge queue Mar 3, 2024
Merged via the queue into servo:v2 with commit ba6f4f9 Mar 3, 2024
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