Tracking Issue for `String::extract_if`
Open
@GrigorenkoPV is already working on this.
Since Mar 29, 2026.
C-tracking-issue
S-tracking-unimplemented
T-libs
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.2k
- PR merge metrics
- PR metrics pending
Description
Feature gate: #![feature(string_extract_if)]
This is a tracking issue for extract_if on strings https://github.com/rust-lang/rfcs/issues/2140
Public API
// alloc::string
impl String {
pub fn extract_if<F>(&mut self, pred: F) -> ExtractIf<F>;
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP: rust-lang/libs-team#...
- Implementation: #...
- Final comment period (FCP)^1
- Stabilization PR
Unresolved Questions
- None yet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.