Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SmallVec::split_off #340

Merged
merged 2 commits into from
Mar 3, 2024
Merged

Implement SmallVec::split_off #340

merged 2 commits into from
Mar 3, 2024

Conversation

arthurprs
Copy link
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.

Copy link
Collaborator

@mbrubeck mbrubeck left a comment

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
5 checks passed
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