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 Relevant to the library API team, which will review and decide on the PR/issue. 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

rustbot commented Aug 5, 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.

@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
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-api Relevant to the library API 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

5 participants