Skip to content

Add pop_if() to Vec#301

Merged
fitzgen merged 2 commits intofitzgen:mainfrom
timtom-rs:patch-1
Jan 8, 2026
Merged

Add pop_if() to Vec#301
fitzgen merged 2 commits intofitzgen:mainfrom
timtom-rs:patch-1

Conversation

@timtom-rs
Copy link
Contributor

@timtom-rs timtom-rs commented Jan 8, 2026

Bumpalo's implementation of Vec is missing some of the methods that the stdlib has added to Vec since it was forked. This PR adds pop_if(), which has been stable in the stdlib since 1.86.

Copy link
Owner

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Thanks!

@fitzgen fitzgen merged commit 96ba386 into fitzgen:main Jan 8, 2026
9 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