-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add OsStr
inherent fns to test for and strip str
prefixes.
#111317
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
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
This comment has been minimized.
This comment has been minimized.
0fa3703
to
fbd7174
Compare
This comment has been minimized.
This comment has been minimized.
* `OsStr::starts_with()` tests whether an `OsStr` has a prefix matching the given `Pattern`. * `OsStr::strip_prefix()` returns the `OsStr` after removing a prefix matching the given `Pattern`.
fbd7174
to
024c947
Compare
☔ The latest upstream changes (presumably #112624) made this pull request unmergeable. Please resolve the merge conflicts. |
Why was this closed? |
Just garbage-collecting ancient stale PRs. It was open for months with no review. |
A reduced subset of PR #111059:
OsStr::starts_with()
tests whether anOsStr
has a prefix matching the givenPattern
.OsStr::strip_prefix()
returns theOsStr
after removing a prefix matching the givenPattern
.ACP: rust-lang/libs-team#114