Skip to content

Stabilize feature(trim_prefix_suffix) ({str, [T], Path}::trim_prefix and {str, [T]}::trim_suffix) - #160544

Open
zachs18 wants to merge 1 commit into
rust-lang:mainfrom
zachs18:stabilize-trim_prefix_suffix
Open

Stabilize feature(trim_prefix_suffix) ({str, [T], Path}::trim_prefix and {str, [T]}::trim_suffix)#160544
zachs18 wants to merge 1 commit into
rust-lang:mainfrom
zachs18:stabilize-trim_prefix_suffix

Conversation

@zachs18

@zachs18 zachs18 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Closes #142312 (tracking issue)

FCP completed here. There was discussion during FCP about a possibly adding strip_circumfix, but that wasn't mentioned as blocking.

r? libs-api

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 5, 2026
@zachs18

This comment was marked as resolved.

@rustbot rustbot added T-libs-api [DEPRECATED; DO NOT USE] and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 5, 2026
@rust-log-analyzer

This comment has been minimized.

@zachs18
zachs18 force-pushed the stabilize-trim_prefix_suffix branch from 5ea76c7 to 8b8918d Compare August 5, 2026 18:42
@rustbot rustbot added the A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. label Aug 5, 2026
@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@zachs18
zachs18 force-pushed the stabilize-trim_prefix_suffix branch from 8b8918d to 3c9b090 Compare August 5, 2026 19:33
@clarfonthey clarfonthey added T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed T-libs-api [DEPRECATED; DO NOT USE] labels Aug 12, 2026
@rust-bors

This comment has been minimized.

@zachs18
zachs18 force-pushed the stabilize-trim_prefix_suffix branch from 3c9b090 to 7901c2f Compare August 24, 2026 22:35
@rustbot

rustbot commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking Issue for {str, [T], Path}::trim_prefix and {str, [T]}::trim_suffix

6 participants